What comes next?: Using Bayesian Inference to Model Human Musical Expectation¶
"We experience musical motions metaphorically in terms of our experience of physical motions." - Steve Larson, 2004
Introduction¶
When you listen to a song you have never heard before, does it feel like you can predict the notes before they occur? What if I played you five notes on the piano, could you predict the sixth?
Melodic expectation is a fundamental concept of musical cognition, referring to the cognitive processes involved when one is tasked with predicting the next notes in a melody. An account of melodic expectation explores the idea of “musical forces'', which include gravity, magnetism, and inertia. These forces metaphorically reflect our “experience of physical motions'' (Larson, 2004, p. 458).
Gravity: the tendency of an unstable note to descend
Magetism: the tendency of an unstable note to move to the nearest stable pitch, a tendency that grows stronger the closer we get to a goal
Inertia: the tendency of a pattern of musical motion to continue in the same fashion
We propose a model of melodic expectation that combines both Temperly’s work on probabilistic inference of melodic structure and Larson’s work on musical forces using a Julia and Gen.jl, a probabilistic programming package. To solve this inference problem, we must create a generative model that solves a sequence of inference problems where the output of one is the input of another. The nature of this inference problem invites the utilization of a sequential Monte Carlo method called particle filtering. After a generative process is established, the model will be constrained on real-world data and the output will be compared to human performance in melodic expectation tasks.
Background¶
Calculating Musical Forces¶
Listeners (but not necessarily players) of music systematically expect completions of musical phrases where the aforementioned musical forces dictate the "auralized traces" (p. 459). In other words, we expect melodies to be completed and we expect gravity, magnetism, and intertia to be at play in these completions.
However, the musical forces are not always interpreted in a consistent manner and are often context-dependent. Sometimes, the forces may agree on what the next note should be. Other times, each individual force may produce a different subsequent note. As such, Steve Larson, a melodic expectation researcher, created an algorithm to represent the interactions of these forces:
$F = w_gG + w_mM + w_iI$
where $G$, $M$, and $I$ are scores given to a certain pattern to denote whether it gives into the specific force and $w_g$, $w_m$, and $w_I$ the weights by which the three forces influence the cumulative effect, $F$ (pp. 462-465).
$G$ is $1$ for patterns that give into gravity and $0$ otherwise.
$M$ is represented by taking the inverse square of the distance in semitones to the a specific goal and subtracting the inverse square of the distance in semitones to the closest stable pitch in the other direction: $\frac{1}{d_{\text{to}}}^2 - \frac{1}{d_{\text{from}}}^2$
$I$ is $1$ for patterns that give into intertia, $-1$ for ones that go against it, and $0$ otherwise.
Probabilistic Model¶
Taking a step back from the relationship between individual notes in a melody, David Temperley, a music theory professor, created a probabilistic model of melody perception using Bayesian inference. The objective of his model was to 1) identify keys of melodies, 2) judge the probability of different notes given the prior context, and 3) identify incorrect notes (Temperley, 2008).
More generally, the model infers the most probable underlying structure (meter and key) of a melody given the perception of the surface (pitches, error-detection, and expectation):
$P(structure|surface) = \frac{P(structure|surface)P(structure)}{P(surface)}$
Since we are only interested in maximizing the right-hand side of the equation, we can rewrite it as this:
$P(structure|surface) \propto P(structure|surface)P(structure)$
And simplify the right side further (p. 420):
$P(structure|surface) \propto P(structure, surface)$
Researching musical cognition is strikingly similar to cognitive linguistics. As such, using a Bayesian approach to this aspect of musical cognition is appropriate because it is similar to other applications of statistical learning such as speech recognition and sentence processing (p. 421).
The following model combines Larson's work on musical forces and Temperley's work on melody perception to reflect human performance in predictive musical tasks.
Model Building¶
Technical assumptions¶
- Pitches will be encoded using the MIDI note value system where C4 (middle C) = 60 and each semitone up or down from C4 is +1 or -1.
- We will only be dealing with major scales.
# Import dependecies
import Pkg
Pkg.activate("psyc261")
Pkg.add(["CSV", "DataFrames"])
Pkg.add("Distributions")
Pkg.add("HypothesisTests")
Pkg.add("GLM")
using Gen
using Plots
using CSV
using DataFrames
using Distributions
using Statistics
using HypothesisTests
using Random
using GLM
include("utils/draw.jl")
;
Activating project at `~/Algorithms-of-the-Mind/finalproj/psyc261` Resolving package versions... No Changes to `~/Algorithms-of-the-Mind/finalproj/psyc261/Project.toml` No Changes to `~/Algorithms-of-the-Mind/finalproj/psyc261/Manifest.toml` Resolving package versions... No Changes to `~/Algorithms-of-the-Mind/finalproj/psyc261/Project.toml` No Changes to `~/Algorithms-of-the-Mind/finalproj/psyc261/Manifest.toml` Resolving package versions... No Changes to `~/Algorithms-of-the-Mind/finalproj/psyc261/Project.toml` No Changes to `~/Algorithms-of-the-Mind/finalproj/psyc261/Manifest.toml` Resolving package versions... No Changes to `~/Algorithms-of-the-Mind/finalproj/psyc261/Project.toml` No Changes to `~/Algorithms-of-the-Mind/finalproj/psyc261/Manifest.toml`
First, we must define some structs and functions that will help with working with musical notes.
The struct represents a key and the notes in the scale of that key.
The first helper function that creates a named scale from a root note (starting note) and specified intervals. I did this so I could create different types of scales with one function (major, minor, blues, etc.) Then, I create notes(), which returns the pitches of a scale as a vector from the name of the scale, and create_major_scale(), which creates a 2-octave scale from a root note and set intervals. I also create findnearest(), which finds the nearest stable note in a key to the inputted note. Lastly, I create some major scales to work with later on.
struct MusicalScale
name::Symbol
notes::Vector{Int}
end
function create_scale(name::Symbol, root_note::Int, intervals::Vector{Int})
notes = Int[]
note = root_note
for interval in intervals
note = root_note + interval
push!(notes, note)
end
return MusicalScale(name, notes)
end
function notes(scale::MusicalScale)
return scale.notes
end
# This function creates a major scale using the specific intervals in all major scales
function create_major_scale(root_note::Int)
return create_scale(Symbol("major"), root_note, [0, 2, 4, 5, 7, 9, 11, 12, 14, 16, 17, 19, 21, 23, 24])
end
# This function finds the degree of a note in a scale if it exists, and the nearest stable note if not
function findnearest(value, array, exclude=nothing)
filtered_array = isnothing(exclude) ? array : filter(x -> x != exclude, array)
idx = argmin(abs.(value .- filtered_array))
return filtered_array[idx]
end
# I create some major scales for the model to draw from later on
C = create_major_scale(60)
G = create_major_scale(55)
D = create_major_scale(62)
A = create_major_scale(57)
E = create_major_scale(64)
B = create_major_scale(59)
F♯ = create_major_scale(66)
G♭ = create_major_scale(66)
D♭ = create_major_scale(61)
A♭ = create_major_scale(56)
E♭ = create_major_scale(63)
B♭ = create_major_scale(58)
F = create_major_scale(65)
major_scales = [C, G, D, A, E, B, F♯, G♭, D♭, A♭, E♭, B♭, F]
;
Calculating musical forces¶
I also need to create some functions to calculate the musical forces. All of these functions will take the key and current pitch (as an integer) as inputs and output to what extent each force should be applied given the position of the note in the scale (the degree) and the scale iteself.
Here is a function that calculates to what extent gravity should influence the following note. First, it initializes gravity_force at 0.0. Then, it searches within the notes of the key to determine the position of the note.
If the note exists in the key, then the gravity force is -0.05 times the degree. If the note does not exist in the key, then the gravity force is -0.05 times the distance to the nearest stable pitch in the key. This implementation allows the gravity force to be proportional to the degree if the note exists in the scale and proportional to the distance to the nearest stable pitch otherwise. In practice, this means that notes that are of a higher degree are more heavily influenced by gravity and notes that are not part of the scale to be less influenced by gravity.
function calculate_gravity(note::Float64, key::MusicalScale)
gravity_force = 0.0
degree = findfirst(x -> x == note, values(notes(key)))
if degree !== nothing
gravity_force = -0.05 * degree
else
nearest_stable_pitch = findnearest(note, values(key.notes))
gravity_force = -0.05 * abs(note - nearest_stable_pitch)
end
return gravity_force
end
;
Here is a function that calculates to what extent magnetism should influence the following note. First, it initializes magnetism_force at 0.0. Then, it searches for the nearest stable pitch. dto is the distance to the nearest stable pitch. dfrom is the distance to the next nearest stable pitch. This function employs the magnetism formula from the background to yield a final value.
function calculate_magnetism(note::Float64, key::MusicalScale)
magnetism_force = 0.0
nearest_stable_pitch = findnearest(note, values(notes(key)))
dto = abs(note - nearest_stable_pitch)
dfrom = abs(note - findnearest(note, values(notes(key)), nearest_stable_pitch))
# This is so we don't get -Inf from dividng by 0
if dto != 0.0 && dfrom != 0.0
magnetism_force = (1/dto)^2 - (1/dfrom)^2
end
return magnetism_force
end
;
Here is a function that calculates to what extent inertia should influence the following note. Notice that this function is a bit different from the previous two as it also takes the previous note in the sequence as the third argument. If there is no previous note, then the function will output 0 since there is no set direction yet.
First, the function initializes inertia_force at 0.0. Then, it searches within the notes of the key to determine the position of the note. It also determines if the current note is above or below previous_note. Lastly, inertia_force is proportional to the degree of the note and is positive or negative depending on the current direction of notes.
function calculate_inertia(note::Float64, key::MusicalScale, tmp_sequence::Vector{Any})
inertia_force = 0.0
degree = findfirst(x -> x == note, values(notes(key)))
#Retrieve last note from sequence
prev_note = tmp_sequence[end]
if note > prev_note
if degree !== nothing
inertia_force = 0.5 * degree
else
inertia_force = 0.5
end
elseif note < prev_note
if degree !== nothing
inertia_force = -0.5 * degree
else
inertia_force = -0.5
end
end
return inertia_force
end
;
Next, I need to create a kernel function which will be called in a different function later on. This function takes in the current note and key, and applies the musical force algorithm to determine the next note. I also create chain() using Gen's unfold combinator. This function passes the return value of one application of the kernel function to the next application.
@gen function melody_kernel(k::Int, curr_note::Float64, key::MusicalScale, tmp_sequence::Vector{Any})
σ = 0.5
w_g = 1
w_m = 9
w_i = 2
push!(tmp_sequence, curr_note)
#First, calculate each force
gravity = @trace(normal(calculate_gravity(curr_note, key), σ), :gravity)
magnetism = @trace(normal(calculate_magnetism(curr_note, key), σ), :magnetism)
inertia = @trace(normal(calculate_inertia(curr_note, key, tmp_sequence), σ), :inertia)
#Add all forces together to get cumulative `F`
force = w_g*gravity + w_m*magnetism + w_i*inertia
#Apply force to find next note
next_note = round(curr_note + force)
return next_note
end
chain = Gen.Unfold(melody_kernel)
;
Here is the main generative function. It randomly draws on the major keys I created earlier and draws a start note from a normal distribution with µ being the middle note of scale and σ being 0.05. It then calls the chain function from before to return a sequence of notes using the kernel function.
Let's ask it to make a melody with 10 notes as an example.
@gen function melody(K::Int, init_note=nothing, key=nothing)
σ = 0.05
#This is so I can keep track of note directions for inertia
tmp_sequence = []
#Choose some things to start the melody
key = @trace(draw(major_scales, (ones(length(major_scales)) / length(major_scales))), :key)
start = @trace(normal((notes(key)[8]), σ), :start)
init_note = round(start)
sequence ~ chain(K, init_note, key, tmp_sequence)
return sequence
end
;
trace = Gen.simulate(melody, (10,))
get_retval(trace)
Persistent{Any}[68.0, 63.0, 67.0, 76.0, 69.0, 75.0, 74.0, 72.0, 71.0, 69.0]
get_choices(trace)
│
├── :key : MusicalScale(:major, [62, 64, 66, 67, 69, 71, 73, 74, 76, 78, 79, 81, 83, 85, 86])
│
├── :start : 73.92520937474858
│
└── :sequence
│
├── 1
│ │
│ ├── :magnetism : -0.7630307642334406
│ │
│ ├── :gravity : 0.06260824004263238
│ │
│ └── :inertia : 0.2973096753509723
│
├── 2
│ │
│ ├── :magnetism : -0.577847482295308
│ │
│ ├── :gravity : -0.28914659299579504
│ │
│ └── :inertia : 0.06871354502936348
│
├── 3
│ │
│ ├── :magnetism : 0.5041109525058037
│ │
│ ├── :gravity : -0.6289311455873161
│ │
│ └── :inertia : -0.12767787803387612
│
├── 4
│ │
│ ├── :magnetism : 0.9944265556460743
│ │
│ ├── :gravity : -1.2046965996509793
│ │
│ └── :inertia : 0.7163326651494655
│
├── 5
│ │
│ ├── :magnetism : -0.6996745629115936
│ │
│ ├── :gravity : -0.8663568603953742
│ │
│ └── :inertia : 0.23552258963815736
│
├── 6
│ │
│ ├── :magnetism : 0.6051300602902574
│ │
│ ├── :gravity : -0.26776032390134047
│ │
│ └── :inertia : 0.205724056562249
│
├── 7
│ │
│ ├── :magnetism : -0.2076838349186813
│ │
│ ├── :gravity : -0.16159699362489754
│ │
│ └── :inertia : 0.3618139928924057
│
├── 8
│ │
│ ├── :magnetism : -0.21950126209503004
│ │
│ ├── :gravity : -0.45602570745546656
│ │
│ └── :inertia : 0.04453982246430502
│
├── 9
│ │
│ ├── :magnetism : -0.15968891932979817
│ │
│ ├── :gravity : -0.3971931107719545
│ │
│ └── :inertia : 0.6320126366773421
│
└── 10
│
├── :magnetism : -0.10388996704214096
│
├── :gravity : -0.47190373810226577
│
└── :inertia : -0.44411586551644605
Particle Filtering¶
Next, I will implement a basic particle filter to better solve this inference problem. The structures of the following functions is intentionally tailored to the existing dataset that I have. A study by Morgan et al. (2019) asked participants to listen to a "melodic stem", a set of 6-9 notes that make the beginning of a melody, and sing what they think the last note should be. The purpose of my model is to output a similar end note to the human participants. First, I will create make_observations which creates a data frame from a vector of notes and the key with gravity, magnetism, and inertia values at each time step. This data frame will be used to load observations into the particle filter.
function make_observations(notes::Vector{Float64}, key::MusicalScale)
tmp_sequence = []
observed_notes = notes
scale_vec = repeat([key], length(notes))
gravity = calculate_gravity.(observed_notes, scale_vec)
magnetism = calculate_magnetism.(observed_notes, scale_vec)
inertia = []
for i in 1:length(observed_notes)
push!(tmp_sequence, init_note)
tmp_inertia = calculate_inertia(observed_notes[i], key, tmp_sequence)
push!(tmp_sequence, observed_notes[i])
push!(inertia, tmp_inertia)
end
obs_notes = DataFrame(obs_notes = observed_notes, gravity = gravity, magnetism = magnetism, inertia = inertia)
return obs_notes
end
;
I am using one example melody (for now) from the behavioral data to update the beliefs of the this particle filter at each time step.
key = G
init_note = 62.0
observed_notes = [62.0, 59.0, 55.0, 62.0, 64.0, 60.0, 66.0, 62.0]
obs_notes = make_observations(observed_notes, key)
;
function particle_filter(num_particles::Int, num_samples::Int, key::MusicalScale, obs_notes, init_note)
# Initial observations
init_obs = Gen.choicemap(
(:key, key),
(:start, init_note)
)
# Initialize the particle filter
state = Gen.initialize_particle_filter(melody, (0,), init_obs, num_particles)
last_notes = Float64[]
for (idx, obs_note) in enumerate(eachrow(obs_notes))
# Evolve and resample
Gen.maybe_resample!(state, ess_threshold=num_particles / 2)
# Load observations of this time step
obs = Gen.choicemap(
(:sequence => idx => :obs_gravity, obs_notes[idx, :gravity]),
(:sequence => idx => :obs_magnetism, obs_notes[idx, :magnetism]),
(:sequence => idx => :inertia, obs_notes[idx, :inertia]),
)
# Re-weight by the likelihood
Gen.particle_filter_step!(state, (idx,), (UnknownChange(),), obs)
end
# Return a sample of unweighted traces from the weighted collection
return Gen.sample_unweighted_traces(state, num_samples)
end
;
Random.seed!(704)
pf_traces = particle_filter(2000, 200, key, obs_notes, init_note)
200-element Vector{Gen.DynamicDSLTrace}:
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Any, Any], true, Union{Nothing, Some{Any}}[nothing, Some(nothing), Some(nothing)], var"##melody#293", Bool[0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:key => Gen.ChoiceOrCallRecord{MusicalScale}(MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), -2.5649493574615367, NaN, true), :sequence => Gen.ChoiceOrCallRecord{Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}}(Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}(Unfold{Any, Gen.DynamicDSLTrace}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false)), Gen.DynamicDSLTrace[Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.7447780318283573, -1.3351799860329705, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.2371989301503442, -0.7005169477240073, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -2.261488286401705, 0.0, (1, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 69.0, 70.0, 71.0, 69.0, 76.0, 70.0, 82.0]), 69.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.5223240699932533, -0.7714362208333615, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.4825595939944147, -0.2279116069668896, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-1.5, -4.725791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5.725139180444978, 0.0, (2, 69.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 69.0, 70.0, 71.0, 69.0, 76.0, 70.0, 82.0]), 70.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.27689342003932216, -0.3791312847668723, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.8148396397815728, -1.3957507018071391, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-0.5, -0.7257913526447274, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -2.500673339218739, 0.0, (3, 70.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 69.0, 70.0, 71.0, 69.0, 76.0, 70.0, 82.0]), 71.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.19702915905279042, -0.303432331678827, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.5626107278457532, -0.23363155912747735, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -0.7628552434510317, 0.0, (4, 71.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 69.0, 70.0, 71.0, 69.0, 76.0, 70.0, 82.0]), 69.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.07362538805577194, -0.2366327481774534, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.09094703884098737, -0.8110387503063928, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.0, -18.22579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -19.273462851128578, 0.0, (5, 69.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 69.0, 70.0, 71.0, 69.0, 76.0, 70.0, 82.0]), 76.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.1174661280205556, -0.2533879351090105, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.9811827245417473, -0.44515534671451695, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-2.0, -8.225791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -8.924334634468254, 0.0, (6, 76.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 69.0, 70.0, 71.0, 69.0, 76.0, 70.0, 82.0]), 70.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.6403550010197152, -1.0459004073066462, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.5339953321958674, -0.6942943158195033, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.5, -24.72579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -26.46598607577088, 0.0, (7, 70.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 69.0, 70.0, 71.0, 69.0, 76.0, 70.0, 82.0]), 82.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.45203808596297534, -0.5512980007209808, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.7595489084356019, -1.8803497863175171, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -2.657439139683225, 0.0, (8, 82.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 69.0, 70.0, 71.0, 69.0, 76.0, 70.0, 82.0]), 87.0)], Any[69.0, 70.0, 71.0, 69.0, 76.0, 70.0, 82.0, 87.0], (8, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 69.0, 70.0, 71.0, 69.0, 76.0, 70.0, 82.0]), 8, 8, -68.57137875056739, 0.0), -68.57137875056739, 0.0, false), :start => Gen.ChoiceOrCallRecord{Float64}(62.0, -4997.923206259651, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5069.0595343676805, 0.0, (8, nothing, nothing), Any[69.0, 70.0, 71.0, 69.0, 76.0, 70.0, 82.0, 87.0])
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Any, Any], true, Union{Nothing, Some{Any}}[nothing, Some(nothing), Some(nothing)], var"##melody#293", Bool[0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:key => Gen.ChoiceOrCallRecord{MusicalScale}(MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), -2.5649493574615367, NaN, true), :sequence => Gen.ChoiceOrCallRecord{Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}}(Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}(Unfold{Any, Gen.DynamicDSLTrace}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false)), Gen.DynamicDSLTrace[Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.15764126771978856, -0.27549289122133147, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.23514191206649432, -0.226232878198807, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -0.7275171220648659, 0.0, (1, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 63.0, 52.0, 52.0, 49.0, 65.0, 58.0, 55.0]), 63.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.9233789170465602, -1.931048601536884, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.16091499295486594, -0.2503956239690833, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-1.5, -4.725791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -6.9072355781506936, 0.0, (2, 63.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 63.0, 52.0, 52.0, 49.0, 65.0, 58.0, 55.0]), 52.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.15518577025088492, -0.23992844926366574, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.06993382474011393, -0.23861253748622102, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-0.5, -0.7257913526447274, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.2043323393946141, 0.0, (3, 52.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 63.0, 52.0, 52.0, 49.0, 65.0, 58.0, 55.0]), 52.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.4082713300866433, -0.6854064025021643, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.25975008926540233, -0.5615816239507377, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.4727793790976293, 0.0, (4, 52.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 63.0, 52.0, 52.0, 49.0, 65.0, 58.0, 55.0]), 49.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(1.0812518708254548, -2.511737094155459, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.2546672823573948, -0.8411029408802034, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.0, -18.22579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -21.578631387680392, 0.0, (5, 49.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 63.0, 52.0, 52.0, 49.0, 65.0, 58.0, 55.0]), 65.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.40751732015385955, -0.557932085095494, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.25106956316371093, -0.4070771163719028, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-2.0, -8.225791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -9.190800554112123, 0.0, (6, 65.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 63.0, 52.0, 52.0, 49.0, 65.0, 58.0, 55.0]), 58.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-1.0460502408583099, -2.4142335654441833, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.555906349532209, -0.7376738216387385, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.5, -24.72579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -27.877698739727652, 0.0, (7, 58.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 63.0, 52.0, 52.0, 49.0, 65.0, 58.0, 55.0]), 55.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-1.6334745390360794, -5.562269492002992, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.349629914422553, -0.4053475238784602, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -6.19340836852618, 0.0, (8, 55.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 63.0, 52.0, 52.0, 49.0, 65.0, 58.0, 55.0]), 40.0)], Any[63.0, 52.0, 52.0, 49.0, 65.0, 58.0, 55.0, 40.0], (8, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 63.0, 52.0, 52.0, 49.0, 65.0, 58.0, 55.0]), 8, 8, -75.15240346875414, 0.0), -75.15240346875414, 0.0, false), :start => Gen.ChoiceOrCallRecord{Float64}(62.0, -4997.923206259651, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5075.640559085868, 0.0, (8, nothing, nothing), Any[63.0, 52.0, 52.0, 49.0, 65.0, 58.0, 55.0, 40.0])
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Any, Any], true, Union{Nothing, Some{Any}}[nothing, Some(nothing), Some(nothing)], var"##melody#293", Bool[0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:key => Gen.ChoiceOrCallRecord{MusicalScale}(MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), -2.5649493574615367, NaN, true), :sequence => Gen.ChoiceOrCallRecord{Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}}(Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}(Unfold{Any, Gen.DynamicDSLTrace}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false)), Gen.DynamicDSLTrace[Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.7967280754797776, -1.4953426051601477, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.23125691838696233, -0.22649395886143342, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.9476279166663084, 0.0, (1, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 55.0, 57.0, 50.0, 52.0, 56.0, 54.0, 75.0]), 55.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.6511361541631463, -1.0737479351614727, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.5673142049470824, -0.7610193259247914, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-1.5, -4.725791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -6.560558613730991, 0.0, (2, 55.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 55.0, 57.0, 50.0, 52.0, 56.0, 54.0, 75.0]), 57.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.7378669500781726, -1.3146866246800561, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.2666160781393757, -0.494606050145321, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-0.5, -0.7257913526447274, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -2.5350840274701043, 0.0, (3, 57.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 55.0, 57.0, 50.0, 52.0, 56.0, 54.0, 75.0]), 50.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.20899173720237318, -0.297535997239061, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.24649121133415355, -0.22581597584053048, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -0.7491433257243189, 0.0, (4, 50.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 55.0, 57.0, 50.0, 52.0, 56.0, 54.0, 75.0]), 52.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.24032685577616583, -0.4197785670824886, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.4904163693917528, -1.0460576050145556, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.0, -18.22579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -19.691627524741776, 0.0, (5, 52.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 55.0, 57.0, 50.0, 52.0, 56.0, 54.0, 75.0]), 56.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.22937865897997126, -0.33102049103562725, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.4930997250181886, -0.6184660852671161, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-2.0, -8.225791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -9.17527792894747, 0.0, (6, 56.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 55.0, 57.0, 50.0, 52.0, 56.0, 54.0, 75.0]), 54.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(1.649571784728075, -1.3830682886893078, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.6713744656787008, -0.9980038058397093, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.5, -24.72579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -27.106863447173748, 0.0, (7, 54.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 55.0, 57.0, 50.0, 52.0, 56.0, 54.0, 75.0]), 75.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.06948242385988132, -0.23544696709561574, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.0526572494393801, -0.22580547459389355, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -0.6870437943342367, 0.0, (8, 75.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 55.0, 57.0, 50.0, 52.0, 56.0, 54.0, 75.0]), 76.0)], Any[55.0, 57.0, 50.0, 52.0, 56.0, 54.0, 75.0, 76.0], (8, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 55.0, 57.0, 50.0, 52.0, 56.0, 54.0, 75.0]), 8, 8, -68.45322657878896, 0.0), -68.45322657878896, 0.0, false), :start => Gen.ChoiceOrCallRecord{Float64}(62.0, -4997.923206259651, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5068.941382195902, 0.0, (8, nothing, nothing), Any[55.0, 57.0, 50.0, 52.0, 56.0, 54.0, 75.0, 76.0])
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Any, Any], true, Union{Nothing, Some{Any}}[nothing, Some(nothing), Some(nothing)], var"##melody#293", Bool[0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:key => Gen.ChoiceOrCallRecord{MusicalScale}(MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), -2.5649493574615367, NaN, true), :sequence => Gen.ChoiceOrCallRecord{Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}}(Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}(Unfold{Any, Gen.DynamicDSLTrace}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false)), Gen.DynamicDSLTrace[Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.48184480547038966, -0.6901401857623227, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.7715823571975495, -0.7698876633242316, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.6858192017312819, 0.0, (1, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 57.0, 59.0, 54.0, 61.0, 68.0, 60.0, 60.0]), 57.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.5421903248421255, -0.8137320493495465, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.22308425300180537, -0.2560908193187522, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-1.5, -4.725791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5.795614221313025, 0.0, (2, 57.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 57.0, 59.0, 54.0, 61.0, 68.0, 60.0, 60.0]), 59.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.46251454981203677, -0.6536307702203895, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.30507598903115773, -0.6399796642301002, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-0.5, -0.7257913526447274, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -2.0194017870952172, 0.0, (3, 59.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 57.0, 59.0, 54.0, 61.0, 68.0, 60.0, 60.0]), 54.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.8958707491195023, -0.225888845389287, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-1.1687774214437658, -2.7291171901094504, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -3.1807973881434646, 0.0, (4, 54.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 57.0, 59.0, 54.0, 61.0, 68.0, 60.0, 60.0]), 61.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.09929923540296506, -0.24551202894795432, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.07126571521327048, -0.22669581393179128, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.0, -18.22579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -18.697999195524474, 0.0, (5, 61.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 57.0, 59.0, 54.0, 61.0, 68.0, 60.0, 60.0]), 68.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.36995284081370505, -0.4995215614969887, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.1717768364189613, -0.25545054842114834, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-2.0, -8.225791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -8.980763462562864, 0.0, (6, 68.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 57.0, 59.0, 54.0, 61.0, 68.0, 60.0, 60.0]), 60.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.8008699968982456, -1.508576856508319, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.09367195652838992, -0.24840265830172858, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.5, -24.72579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -26.48277086745478, 0.0, (7, 60.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 57.0, 59.0, 54.0, 61.0, 68.0, 60.0, 60.0]), 60.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.5164799695444304, -0.7592944705259589, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.3623420507376265, -0.2785012355201235, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.2635870586908098, 0.0, (8, 60.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 57.0, 59.0, 54.0, 61.0, 68.0, 60.0, 60.0]), 55.0)], Any[57.0, 59.0, 54.0, 61.0, 68.0, 60.0, 60.0, 55.0], (8, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 57.0, 59.0, 54.0, 61.0, 68.0, 60.0, 60.0]), 8, 8, -68.10675318251592, 0.0), -68.10675318251592, 0.0, false), :start => Gen.ChoiceOrCallRecord{Float64}(62.0, -4997.923206259651, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5068.594908799629, 0.0, (8, nothing, nothing), Any[57.0, 59.0, 54.0, 61.0, 68.0, 60.0, 60.0, 55.0])
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Any, Any], true, Union{Nothing, Some{Any}}[nothing, Some(nothing), Some(nothing)], var"##melody#293", Bool[0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:key => Gen.ChoiceOrCallRecord{MusicalScale}(MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), -2.5649493574615367, NaN, true), :sequence => Gen.ChoiceOrCallRecord{Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}}(Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}(Unfold{Any, Gen.DynamicDSLTrace}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false)), Gen.DynamicDSLTrace[Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.6251838661606169, -1.0075010856597997, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.657771520807655, -0.558346579008303, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.7916390173128298, 0.0, (1, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 67.0, 69.0, 68.0, 70.0, 63.0, 79.0]), 67.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.3694189794488139, -0.4987321173987339, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.30912526398293444, -0.24230778793707008, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-1.5, -4.725791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5.466831257980531, 0.0, (2, 67.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 67.0, 69.0, 68.0, 70.0, 63.0, 79.0]), 67.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.31737958261833615, -0.4272509515707058, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.01094258266998277, -0.5285227006037337, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-0.5, -0.7257913526447274, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.6815650048191668, 0.0, (3, 67.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 67.0, 69.0, 68.0, 70.0, 63.0, 79.0]), 69.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.11367591834959294, -0.251635781469974, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.3217876155587812, -0.2586681836929331, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -0.7360953178076345, 0.0, (4, 69.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 67.0, 69.0, 68.0, 70.0, 63.0, 79.0]), 68.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.3019616107588654, -0.40815298138890455, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-1.2676316952410531, -3.1910452431559286, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.0, -18.22579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -21.824989577189562, 0.0, (5, 68.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 67.0, 69.0, 68.0, 70.0, 63.0, 79.0]), 70.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.4345702789295711, -0.6034940073025777, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.5001513165719849, -0.8311242948965042, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-2.0, -8.225791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -9.660409654843809, 0.0, (6, 70.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 67.0, 69.0, 68.0, 70.0, 63.0, 79.0]), 63.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.9679728914253521, -2.0997343897134404, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.3587055590438799, -0.5598718206314682, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.5, -24.72579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -27.38539756298964, 0.0, (7, 63.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 67.0, 69.0, 68.0, 70.0, 63.0, 79.0]), 79.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.7600635677001637, -1.38118460653493, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.1528110041124915, -1.8559267709379377, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -3.462902730117595, 0.0, (8, 79.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 67.0, 69.0, 68.0, 70.0, 63.0, 79.0]), 86.0)], Any[67.0, 67.0, 69.0, 68.0, 70.0, 63.0, 79.0, 86.0], (8, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 67.0, 69.0, 68.0, 70.0, 63.0, 79.0]), 8, 8, -72.00983012306077, 0.0), -72.00983012306077, 0.0, false), :start => Gen.ChoiceOrCallRecord{Float64}(62.0, -4997.923206259651, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5072.497985740174, 0.0, (8, nothing, nothing), Any[67.0, 67.0, 69.0, 68.0, 70.0, 63.0, 79.0, 86.0])
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Any, Any], true, Union{Nothing, Some{Any}}[nothing, Some(nothing), Some(nothing)], var"##melody#293", Bool[0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:key => Gen.ChoiceOrCallRecord{MusicalScale}(MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), -2.5649493574615367, NaN, true), :sequence => Gen.ChoiceOrCallRecord{Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}}(Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}(Unfold{Any, Gen.DynamicDSLTrace}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false)), Gen.DynamicDSLTrace[Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.9920002560609209, -2.1939203686945925, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.7927327500849818, -0.814909028674342, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -3.234620750013662, 0.0, (1, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 70.0, 70.0, 81.0, 85.0, 92.0, 80.0, 86.0]), 70.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.3910977533673853, -0.5317062580227595, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.0296470824895158, -0.2266198351471045, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-1.5, -4.725791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5.484117445814591, 0.0, (2, 70.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 70.0, 70.0, 81.0, 85.0, 92.0, 80.0, 86.0]), 70.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(1.2604734558475836, -3.4033780184374276, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.2534961292861415, -0.41001115362806806, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-0.5, -0.7257913526447274, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -4.539180524710223, 0.0, (3, 70.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 70.0, 70.0, 81.0, 85.0, 92.0, 80.0, 86.0]), 81.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.5408677989878353, -0.5489654409734012, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.8263963782307062, -1.2810947492581017, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -2.0558515428762303, 0.0, (4, 81.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 70.0, 70.0, 81.0, 85.0, 92.0, 80.0, 86.0]), 85.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.08411250952520188, -0.23757029651459727, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.21036883401461615, -0.24185884447652628, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.0, -18.22579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -18.705220493635853, 0.0, (5, 85.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 70.0, 70.0, 81.0, 85.0, 92.0, 80.0, 86.0]), 92.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.8074936525850307, -1.5325174929159266, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-1.1538194523987917, -0.7334594338755639, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-2.0, -8.225791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -10.491768279436217, 0.0, (6, 92.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 70.0, 70.0, 81.0, 85.0, 92.0, 80.0, 86.0]), 80.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.06806948829132731, -1.5642667279911953, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.8490264740659078, -1.502677965161121, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.5, -24.72579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -27.792736045797046, 0.0, (7, 80.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 70.0, 70.0, 81.0, 85.0, 92.0, 80.0, 86.0]), 86.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.539291692825206, -0.8178262507045503, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.7696875324637531, -0.5780666024557549, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.6216842058050327, 0.0, (8, 86.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 70.0, 70.0, 81.0, 85.0, 92.0, 80.0, 86.0]), 80.0)], Any[70.0, 70.0, 81.0, 85.0, 92.0, 80.0, 86.0, 80.0], (8, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 70.0, 70.0, 81.0, 85.0, 92.0, 80.0, 86.0]), 8, 8, -73.92517928808886, 0.0), -73.92517928808886, 0.0, false), :start => Gen.ChoiceOrCallRecord{Float64}(62.0, -4997.923206259651, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5074.413334905202, 0.0, (8, nothing, nothing), Any[70.0, 70.0, 81.0, 85.0, 92.0, 80.0, 86.0, 80.0])
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Any, Any], true, Union{Nothing, Some{Any}}[nothing, Some(nothing), Some(nothing)], var"##melody#293", Bool[0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:key => Gen.ChoiceOrCallRecord{MusicalScale}(MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), -2.5649493574615367, NaN, true), :sequence => Gen.ChoiceOrCallRecord{Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}}(Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}(Unfold{Any, Gen.DynamicDSLTrace}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false)), Gen.DynamicDSLTrace[Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.4462771718587233, -0.6241179808891683, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.19261041053580635, -0.6175993036740773, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.467508637207973, 0.0, (1, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 66.0, 65.0, 68.0, 64.0, 68.0, 68.0, 70.0]), 66.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.293511256898046, -0.39808906849646897, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.4957421970642656, -0.26827292865496577, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-1.5, -4.725791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5.392153349796161, 0.0, (2, 66.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 66.0, 65.0, 68.0, 64.0, 68.0, 68.0, 70.0]), 65.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.44133759744972034, -0.6153491024901102, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.10545458545319016, -0.23194177474029776, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-0.5, -0.7257913526447274, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.5730822298751352, 0.0, (3, 65.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 66.0, 65.0, 68.0, 64.0, 68.0, 68.0, 70.0]), 68.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.45841302999723005, -0.64607636478721, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.6024820004577496, -1.077256874487421, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.9491245919193583, 0.0, (4, 68.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 66.0, 65.0, 68.0, 64.0, 68.0, 68.0, 70.0]), 64.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.19587981062873575, -0.30252915306862616, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.03945401374728097, -0.3615597745495315, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.0, -18.22579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -18.889880280262886, 0.0, (5, 64.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 66.0, 65.0, 68.0, 64.0, 68.0, 68.0, 70.0]), 68.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.4717297123557348, -0.670849195683176, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.3039511302288888, -0.3547737057337875, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-2.0, -8.225791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -9.25141425406169, 0.0, (6, 68.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 66.0, 65.0, 68.0, 64.0, 68.0, 68.0, 70.0]), 68.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.5782387480934188, -0.8945114522380159, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.3094330810684782, -0.4841756321774858, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.5, -24.72579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -26.104478437060234, 0.0, (7, 68.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 66.0, 65.0, 68.0, 64.0, 68.0, 68.0, 70.0]), 70.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.15260330112291942, -0.2723668876719523, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.5648250256519651, -0.9818109769806066, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.479969217297286, 0.0, (8, 70.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 66.0, 65.0, 68.0, 64.0, 68.0, 68.0, 70.0]), 72.0)], Any[66.0, 65.0, 68.0, 64.0, 68.0, 68.0, 70.0, 72.0], (8, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 66.0, 65.0, 68.0, 64.0, 68.0, 68.0, 70.0]), 8, 8, -66.10761099748072, 0.0), -66.10761099748072, 0.0, false), :start => Gen.ChoiceOrCallRecord{Float64}(62.0, -4997.923206259651, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5066.595766614594, 0.0, (8, nothing, nothing), Any[66.0, 65.0, 68.0, 64.0, 68.0, 68.0, 70.0, 72.0])
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Any, Any], true, Union{Nothing, Some{Any}}[nothing, Some(nothing), Some(nothing)], var"##melody#293", Bool[0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:key => Gen.ChoiceOrCallRecord{MusicalScale}(MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), -2.5649493574615367, NaN, true), :sequence => Gen.ChoiceOrCallRecord{Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}}(Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}(Unfold{Any, Gen.DynamicDSLTrace}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false)), Gen.DynamicDSLTrace[Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.4421787420546997, -0.6168354324948807, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.5139952209118223, -0.36517830597329104, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.207805091112899, 0.0, (1, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 58.0, 62.0, 65.0, 62.0, 66.0, 61.0, 68.0]), 58.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.8144227509837682, -1.5523601872846648, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.06450295885929196, -0.226212024276076, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-1.5, -4.725791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -6.504363564205468, 0.0, (2, 58.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 58.0, 62.0, 65.0, 62.0, 66.0, 61.0, 68.0]), 62.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.42794617607386815, -0.5920672118772198, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.05986478658708541, -0.2980941514038765, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-0.5, -0.7257913526447274, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.6159527159258236, 0.0, (3, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 58.0, 62.0, 65.0, 62.0, 66.0, 61.0, 68.0]), 65.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.3807600602066334, -0.5157477995418455, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.14007095357468652, -0.29804528743030867, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.0395844396168816, 0.0, (4, 65.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 58.0, 62.0, 65.0, 62.0, 66.0, 61.0, 68.0]), 62.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.185873827506902, -0.2948895121488585, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.30537042720434476, -0.23192312106231072, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.0, -18.22579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -18.7526039858559, 0.0, (5, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 58.0, 62.0, 65.0, 62.0, 66.0, 61.0, 68.0]), 66.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.11363221707741877, -0.2516159141605866, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.2044726220453476, -0.26814778811343987, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-2.0, -8.225791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -8.745555054918754, 0.0, (6, 66.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 58.0, 62.0, 65.0, 62.0, 66.0, 61.0, 68.0]), 61.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.006753905100458176, -0.2258825831129394, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.39788984059050164, -0.4678460350168968, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.5, -24.72579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -25.419519970774566, 0.0, (7, 61.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 58.0, 62.0, 65.0, 62.0, 66.0, 61.0, 68.0]), 68.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.3418251717464673, -0.45948024872373117, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.05925338442897507, -0.24966395666309815, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -0.9349355580315567, 0.0, (8, 68.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 58.0, 62.0, 65.0, 62.0, 66.0, 61.0, 68.0]), 71.0)], Any[58.0, 62.0, 65.0, 62.0, 66.0, 61.0, 68.0, 71.0], (8, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 58.0, 62.0, 65.0, 62.0, 66.0, 61.0, 68.0]), 8, 8, -64.22032038044185, 0.0), -64.22032038044185, 0.0, false), :start => Gen.ChoiceOrCallRecord{Float64}(62.0, -4997.923206259651, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5064.708475997555, 0.0, (8, nothing, nothing), Any[58.0, 62.0, 65.0, 62.0, 66.0, 61.0, 68.0, 71.0])
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Any, Any], true, Union{Nothing, Some{Any}}[nothing, Some(nothing), Some(nothing)], var"##melody#293", Bool[0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:key => Gen.ChoiceOrCallRecord{MusicalScale}(MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), -2.5649493574615367, NaN, true), :sequence => Gen.ChoiceOrCallRecord{Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}}(Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}(Unfold{Any, Gen.DynamicDSLTrace}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false)), Gen.DynamicDSLTrace[Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.0376909306353732, -0.2286325651490484, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.09416307857526035, -0.4626878019535291, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -0.9171117197473049, 0.0, (1, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 62.0, 61.0, 61.0, 61.0, 67.0, 64.0, 70.0]), 62.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.22631520496699953, -0.3282284966432375, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.02620036704663309, -0.37836463815811705, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-1.5, -4.725791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5.432384487446082, 0.0, (2, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 62.0, 61.0, 61.0, 61.0, 67.0, 64.0, 70.0]), 61.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.09926253238234432, -0.24549745331463935, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.15590256438374567, -0.3105830846843324, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-0.5, -0.7257913526447274, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.281871890643699, 0.0, (3, 61.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 62.0, 61.0, 61.0, 61.0, 67.0, 64.0, 70.0]), 61.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.142074808455532, -0.2661618550400796, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(1.2348608695646526, -3.527526260921597, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -4.019479468606404, 0.0, (4, 61.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 62.0, 61.0, 61.0, 61.0, 67.0, 64.0, 70.0]), 61.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.03239849902281548, -0.22789067812259012, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.5274288244024187, -0.6816679173852785, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.0, -18.22579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -19.135349948152598, 0.0, (5, 61.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 62.0, 61.0, 61.0, 61.0, 67.0, 64.0, 70.0]), 67.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.11190100031944732, -0.2508350203897133, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.16348073763169485, -0.33767407558722173, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-2.0, -8.225791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -8.814300448621662, 0.0, (6, 67.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 62.0, 61.0, 61.0, 61.0, 67.0, 64.0, 70.0]), 64.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.12636978080910632, -0.25772999564821053, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.23694719877207152, -0.2337426641301047, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.5, -24.72579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -25.217264012423044, 0.0, (7, 64.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 62.0, 61.0, 61.0, 61.0, 67.0, 64.0, 70.0]), 70.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.3928214968959073, -0.5344088094918099, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.213611360882567, -0.36477325181744524, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.1249734139539824, 0.0, (8, 70.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 62.0, 61.0, 61.0, 61.0, 67.0, 64.0, 70.0]), 67.0)], Any[62.0, 61.0, 61.0, 61.0, 67.0, 64.0, 70.0, 67.0], (8, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 62.0, 61.0, 61.0, 61.0, 67.0, 64.0, 70.0]), 8, 8, -65.94273538959477, 0.0), -65.94273538959477, 0.0, false), :start => Gen.ChoiceOrCallRecord{Float64}(62.0, -4997.923206259651, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5066.4308910067075, 0.0, (8, nothing, nothing), Any[62.0, 61.0, 61.0, 61.0, 67.0, 64.0, 70.0, 67.0])
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Any, Any], true, Union{Nothing, Some{Any}}[nothing, Some(nothing), Some(nothing)], var"##melody#293", Bool[0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:key => Gen.ChoiceOrCallRecord{MusicalScale}(MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), -2.5649493574615367, NaN, true), :sequence => Gen.ChoiceOrCallRecord{Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}}(Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}(Unfold{Any, Gen.DynamicDSLTrace}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false)), Gen.DynamicDSLTrace[Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.5883971566424409, -0.9182137805345455, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.05719271359442285, -0.4145260792157376, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.5585312123950104, 0.0, (1, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 61.0, 59.0, 61.0, 68.0, 68.0, 68.0]), 67.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.2895681228838975, -0.3934907482257354, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.030963990141087028, -0.5972512742413812, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-1.5, -4.725791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5.716533375111844, 0.0, (2, 67.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 61.0, 59.0, 61.0, 68.0, 68.0, 68.0]), 61.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.04193785747723665, -0.2293089204242894, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.32449170444297076, -0.3764827442607418, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-0.5, -0.7257913526447274, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.3315830173297587, 0.0, (3, 61.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 61.0, 59.0, 61.0, 68.0, 68.0, 68.0]), 59.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.288928679939415, -0.3927509168277933, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.13837644874458763, -0.2260615665323018, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -0.8446038360048225, 0.0, (4, 59.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 61.0, 59.0, 61.0, 68.0, 68.0, 68.0]), 61.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.14188654598782693, -0.2660549365094388, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.28972533639444237, -0.34072782646358457, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.0, -18.22579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -18.832574115617753, 0.0, (5, 61.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 61.0, 59.0, 61.0, 68.0, 68.0, 68.0]), 68.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.5123229642437783, -0.7507409920277909, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.9422508286660952, -1.8180144351553942, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-2.0, -8.225791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -10.794546779827911, 0.0, (6, 68.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 61.0, 59.0, 61.0, 68.0, 68.0, 68.0]), 68.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.8389628430731315, -1.6335086567594308, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.43389658136121273, -0.6941031555508649, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.5, -24.72579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -27.053403164955025, 0.0, (7, 68.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 61.0, 59.0, 61.0, 68.0, 68.0, 68.0]), 68.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.3545377698649449, -0.4771854131663448, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.5910282853234219, -0.8112145636847313, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.5141913294958034, 0.0, (8, 68.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 61.0, 59.0, 61.0, 68.0, 68.0, 68.0]), 64.0)], Any[67.0, 61.0, 59.0, 61.0, 68.0, 68.0, 68.0, 64.0], (8, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 61.0, 59.0, 61.0, 68.0, 68.0, 68.0]), 8, 8, -67.64596683073793, 0.0), -67.64596683073793, 0.0, false), :start => Gen.ChoiceOrCallRecord{Float64}(62.0, -4997.923206259651, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5068.134122447851, 0.0, (8, nothing, nothing), Any[67.0, 61.0, 59.0, 61.0, 68.0, 68.0, 68.0, 64.0])
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Any, Any], true, Union{Nothing, Some{Any}}[nothing, Some(nothing), Some(nothing)], var"##melody#293", Bool[0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:key => Gen.ChoiceOrCallRecord{MusicalScale}(MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), -2.5649493574615367, NaN, true), :sequence => Gen.ChoiceOrCallRecord{Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}}(Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}(Unfold{Any, Gen.DynamicDSLTrace}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false)), Gen.DynamicDSLTrace[Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.48676703992755094, -0.6996756549643873, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.09981231808468094, -0.2709040322429215, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.1963710398520362, 0.0, (1, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 58.0, 55.0, 54.0, 69.0, 76.0, 77.0, 83.0]), 58.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.036116555703882815, -0.2284001638365507, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.02229551993590291, -0.2362446370503325, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-1.5, -4.725791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5.19043615353161, 0.0, (2, 58.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 58.0, 55.0, 54.0, 69.0, 76.0, 77.0, 83.0]), 55.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.03442306263241235, -0.22816124712671737, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.17503706928587426, -0.25705989003592844, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-0.5, -0.7257913526447274, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.211012489807373, 0.0, (3, 55.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 58.0, 55.0, 54.0, 69.0, 76.0, 77.0, 83.0]), 54.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(1.568042897505702, -1.1482916874852998, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.40404543984027935, -0.6381058755242327, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -2.0121889156542596, 0.0, (4, 54.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 58.0, 55.0, 54.0, 69.0, 76.0, 77.0, 83.0]), 69.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.127640867814303, -0.2583757349175041, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.4066164967074855, -0.2295556093605906, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.0, -18.22579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -18.713722696922826, 0.0, (5, 69.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 58.0, 55.0, 54.0, 69.0, 76.0, 77.0, 83.0]), 76.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.5462881316370465, -0.8226527981797175, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.39990058893322866, -0.3508907834766192, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-2.0, -8.225791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -9.399334934301063, 0.0, (6, 76.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 58.0, 55.0, 54.0, 69.0, 76.0, 77.0, 83.0]), 77.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.1084199373579436, -0.24930111827812818, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.4864297678511216, -0.6067332371778952, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.5, -24.72579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -25.581825708100755, 0.0, (7, 77.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 58.0, 55.0, 54.0, 69.0, 76.0, 77.0, 83.0]), 83.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.27111850865986437, -0.3494136783412375, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.3876649181037521, -0.9164914645845067, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.4916964955704715, 0.0, (8, 83.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 58.0, 55.0, 54.0, 69.0, 76.0, 77.0, 83.0]), 86.0)], Any[58.0, 55.0, 54.0, 69.0, 76.0, 77.0, 83.0, 86.0], (8, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 58.0, 55.0, 54.0, 69.0, 76.0, 77.0, 83.0]), 8, 8, -64.79658843374038, 0.0), -64.79658843374038, 0.0, false), :start => Gen.ChoiceOrCallRecord{Float64}(62.0, -4997.923206259651, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5065.284744050853, 0.0, (8, nothing, nothing), Any[58.0, 55.0, 54.0, 69.0, 76.0, 77.0, 83.0, 86.0])
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Any, Any], true, Union{Nothing, Some{Any}}[nothing, Some(nothing), Some(nothing)], var"##melody#293", Bool[0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:key => Gen.ChoiceOrCallRecord{MusicalScale}(MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), -2.5649493574615367, NaN, true), :sequence => Gen.ChoiceOrCallRecord{Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}}(Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}(Unfold{Any, Gen.DynamicDSLTrace}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false)), Gen.DynamicDSLTrace[Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.15956987820412302, -0.27671644470488466, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.6709481988856597, -0.5801861249348893, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.0826939222845013, 0.0, (1, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 63.0, 58.0, 58.0, 62.0, 69.0, 63.0, 71.0]), 63.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.20110879440730042, -0.306680847020643, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.054494250281119025, -0.24762944932835362, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-1.5, -4.725791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5.280101648993724, 0.0, (2, 63.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 63.0, 58.0, 58.0, 62.0, 69.0, 63.0, 71.0]), 58.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.21706968626359185, -0.32002985003387574, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.4978749956069241, -0.6269753760245319, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-0.5, -0.7257913526447274, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.6727965787031351, 0.0, (3, 58.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 63.0, 58.0, 58.0, 62.0, 69.0, 63.0, 71.0]), 58.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.3794724078131324, -0.51378996922772, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.12036273593018475, -0.2838382762319631, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.0234195981044105, 0.0, (4, 58.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 63.0, 58.0, 58.0, 62.0, 69.0, 63.0, 71.0]), 62.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.15301896249546407, -0.2726209584111039, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.019715555599674334, -0.3318532033102607, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.0, -18.22579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -18.830265514366094, 0.0, (5, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 63.0, 58.0, 58.0, 62.0, 69.0, 63.0, 71.0]), 69.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.03403087448669989, -0.22810755348138645, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-2.0651488704926413, -5.443203100352038, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-2.0, -8.225791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -13.897102006478152, 0.0, (6, 69.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 63.0, 58.0, 58.0, 62.0, 69.0, 63.0, 71.0]), 63.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.14182248603677874, -0.26601858773603204, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.339265181097816, -0.3931400426358319, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.5, -24.72579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -25.384949983016593, 0.0, (7, 63.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 63.0, 58.0, 58.0, 62.0, 69.0, 63.0, 71.0]), 71.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.6058872974642249, -0.9599901871017315, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.001363130880621899, -0.7230688071350789, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.9088503468815379, 0.0, (8, 71.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 63.0, 58.0, 58.0, 62.0, 69.0, 63.0, 71.0]), 76.0)], Any[63.0, 58.0, 58.0, 62.0, 69.0, 63.0, 71.0, 76.0], (8, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 63.0, 58.0, 58.0, 62.0, 69.0, 63.0, 71.0]), 8, 8, -69.08017959882814, 0.0), -69.08017959882814, 0.0, false), :start => Gen.ChoiceOrCallRecord{Float64}(62.0, -4997.923206259651, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5069.568335215941, 0.0, (8, nothing, nothing), Any[63.0, 58.0, 58.0, 62.0, 69.0, 63.0, 71.0, 76.0])
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Any, Any], true, Union{Nothing, Some{Any}}[nothing, Some(nothing), Some(nothing)], var"##melody#293", Bool[0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:key => Gen.ChoiceOrCallRecord{MusicalScale}(MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), -2.5649493574615367, NaN, true), :sequence => Gen.ChoiceOrCallRecord{Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}}(Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}(Unfold{Any, Gen.DynamicDSLTrace}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false)), Gen.DynamicDSLTrace[Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.36286979746803616, -0.4891403324737146, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.040755381110812144, -0.3133579737128903, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.0282896588313322, 0.0, (1, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 59.0, 56.0, 49.0, 44.0, 53.0, 53.0, 60.0]), 59.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.012369988917803885, -0.22609738589638062, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.11174479428657777, -0.22871827417307988, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-1.5, -4.725791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5.180607012714187, 0.0, (2, 59.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 59.0, 56.0, 49.0, 44.0, 53.0, 53.0, 60.0]), 56.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.6645391543094401, -1.109015927865339, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.17355415345407144, -0.32574427169786035, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-0.5, -0.7257913526447274, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -2.160551552207927, 0.0, (3, 56.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 59.0, 56.0, 49.0, 44.0, 53.0, 53.0, 60.0]), 49.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.5438968997067065, -0.8441738403059255, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.12579012691183283, -0.588385816995917, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.65835100994657, 0.0, (4, 49.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 59.0, 56.0, 49.0, 44.0, 53.0, 53.0, 60.0]), 44.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.42170347309242917, -0.5775105473557339, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.6953092756082027, -0.2680209238002885, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.0, -18.22579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -19.071322823800752, 0.0, (5, 44.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 59.0, 56.0, 49.0, 44.0, 53.0, 53.0, 60.0]), 53.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.5199613078928852, -0.44685239513642305, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-1.0053388412163569, -1.8650681874746793, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-2.0, -8.225791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -10.537711935255828, 0.0, (6, 53.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 59.0, 56.0, 49.0, 44.0, 53.0, 53.0, 60.0]), 53.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.0474535694995564, -0.3361977122858931, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.3673960915059309, -0.6627095653547684, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.5, -24.72579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -25.724698630285392, 0.0, (7, 53.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 59.0, 56.0, 49.0, 44.0, 53.0, 53.0, 60.0]), 60.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.8815741726297527, -1.7801373963403933, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.38549325286741926, -0.29460684636340007, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -2.3005355953485207, 0.0, (8, 60.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 59.0, 56.0, 49.0, 44.0, 53.0, 53.0, 60.0]), 68.0)], Any[59.0, 56.0, 49.0, 44.0, 53.0, 53.0, 60.0, 68.0], (8, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 59.0, 56.0, 49.0, 44.0, 53.0, 53.0, 60.0]), 8, 8, -67.6620682183905, 0.0), -67.6620682183905, 0.0, false), :start => Gen.ChoiceOrCallRecord{Float64}(62.0, -4997.923206259651, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5068.150223835503, 0.0, (8, nothing, nothing), Any[59.0, 56.0, 49.0, 44.0, 53.0, 53.0, 60.0, 68.0])
⋮
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Any, Any], true, Union{Nothing, Some{Any}}[nothing, Some(nothing), Some(nothing)], var"##melody#293", Bool[0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:key => Gen.ChoiceOrCallRecord{MusicalScale}(MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), -2.5649493574615367, NaN, true), :sequence => Gen.ChoiceOrCallRecord{Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}}(Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}(Unfold{Any, Gen.DynamicDSLTrace}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false)), Gen.DynamicDSLTrace[Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.01588572378802821, -0.22629606508526645, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.9036969341522684, -1.0804307160848774, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.5325181338148712, 0.0, (1, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 61.0, 60.0, 63.0, 71.0, 66.0, 71.0]), 61.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.237449113522319, -0.3385555156697976, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.679810293713167, -1.2910374822641257, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-1.5, -4.725791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -6.35538435057865, 0.0, (2, 61.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 61.0, 60.0, 63.0, 71.0, 66.0, 71.0]), 61.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.003406250458310227, -0.22581455772909687, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.17408358350221484, -0.25658482403422966, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-0.5, -0.7257913526447274, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.208190734408054, 0.0, (3, 61.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 61.0, 60.0, 63.0, 71.0, 66.0, 71.0]), 60.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.4395401361995523, -0.6121824153053693, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.5807964063265834, -0.5158031587872082, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.353776926737305, 0.0, (4, 60.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 61.0, 60.0, 63.0, 71.0, 66.0, 71.0]), 63.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.2519950531934559, -0.3527943663126728, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.2956486640993387, -0.3464778849923068, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.0, -18.22579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -18.92506360394971, 0.0, (5, 63.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 61.0, 60.0, 63.0, 71.0, 66.0, 71.0]), 71.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.1171220771101669, -0.2532265145379271, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.1942481038044621, -0.4127597966990614, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-2.0, -8.225791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -8.891777663881715, 0.0, (6, 71.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 61.0, 60.0, 63.0, 71.0, 66.0, 71.0]), 66.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.14231293129728612, -0.26629729347357955, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.5519967908300402, -0.30739675965599733, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.5, -24.72579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -25.299485405774305, 0.0, (7, 66.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 61.0, 60.0, 63.0, 71.0, 66.0, 71.0]), 71.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.11322873490737202, -0.25143284546217526, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.8800527427763913, -0.5146715272284431, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -0.9918957253353458, 0.0, (8, 71.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 61.0, 60.0, 63.0, 71.0, 66.0, 71.0]), 69.0)], Any[61.0, 61.0, 60.0, 63.0, 71.0, 66.0, 71.0, 69.0], (8, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 61.0, 60.0, 63.0, 71.0, 66.0, 71.0]), 8, 8, -64.55809254447995, 0.0), -64.55809254447995, 0.0, false), :start => Gen.ChoiceOrCallRecord{Float64}(62.0, -4997.923206259651, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5065.046248161593, 0.0, (8, nothing, nothing), Any[61.0, 61.0, 60.0, 63.0, 71.0, 66.0, 71.0, 69.0])
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Any, Any], true, Union{Nothing, Some{Any}}[nothing, Some(nothing), Some(nothing)], var"##melody#293", Bool[0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:key => Gen.ChoiceOrCallRecord{MusicalScale}(MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), -2.5649493574615367, NaN, true), :sequence => Gen.ChoiceOrCallRecord{Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}}(Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}(Unfold{Any, Gen.DynamicDSLTrace}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false)), Gen.DynamicDSLTrace[Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.118059333665002, -0.253667365175576, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.43021402436727374, -1.1511735905365716, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.630632308356875, 0.0, (1, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 58.0, 65.0, 57.0, 62.0, 52.0, 56.0]), 61.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.038317278144641746, -0.2287277802535551, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.04434118953046931, -0.22585539691658751, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-1.5, -4.725791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5.18037452981487, 0.0, (2, 61.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 58.0, 65.0, 57.0, 62.0, 52.0, 56.0]), 58.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.9315279040186963, -1.9612798245756586, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.06031605348249905, -0.25013061595663455, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-0.5, -0.7257913526447274, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -2.9372017931770205, 0.0, (3, 58.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 58.0, 65.0, 57.0, 62.0, 52.0, 56.0]), 65.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.8599194628009349, -1.7047143176524244, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.22964424532478778, -0.29033546240135244, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -2.2208411326985042, 0.0, (4, 65.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 58.0, 65.0, 57.0, 62.0, 52.0, 56.0]), 57.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.1426339366703513, -0.26648023242489094, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.10967805827042165, -0.31372112888483616, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.0, -18.22579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -18.805992713954456, 0.0, (5, 57.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 58.0, 65.0, 57.0, 62.0, 52.0, 56.0]), 62.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.6040059035943489, -0.9554376157983792, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.7027764348391692, -0.6358043525360643, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-2.0, -8.225791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -9.81703332097917, 0.0, (6, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 58.0, 65.0, 57.0, 62.0, 52.0, 56.0]), 52.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.30586951024869524, -0.5100201304063788, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.11153507461581352, -0.22875045361434942, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.5, -24.72579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -25.464561936665458, 0.0, (7, 52.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 58.0, 65.0, 57.0, 62.0, 52.0, 56.0]), 56.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.1398588677445821, -0.2649123584183204, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.07322188692648192, -0.2561586194801728, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -0.7468623305432206, 0.0, (8, 56.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 58.0, 65.0, 57.0, 62.0, 52.0, 56.0]), 55.0)], Any[61.0, 58.0, 65.0, 57.0, 62.0, 52.0, 56.0, 55.0], (8, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 58.0, 65.0, 57.0, 62.0, 52.0, 56.0]), 8, 8, -66.80350006618959, 0.0), -66.80350006618959, 0.0, false), :start => Gen.ChoiceOrCallRecord{Float64}(62.0, -4997.923206259651, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5067.291655683302, 0.0, (8, nothing, nothing), Any[61.0, 58.0, 65.0, 57.0, 62.0, 52.0, 56.0, 55.0])
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Any, Any], true, Union{Nothing, Some{Any}}[nothing, Some(nothing), Some(nothing)], var"##melody#293", Bool[0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:key => Gen.ChoiceOrCallRecord{MusicalScale}(MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), -2.5649493574615367, NaN, true), :sequence => Gen.ChoiceOrCallRecord{Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}}(Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}(Unfold{Any, Gen.DynamicDSLTrace}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false)), Gen.DynamicDSLTrace[Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.2107450079053752, -0.3146182693588008, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.592276341632356, -0.460097540727186, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.000507162730714, 0.0, (1, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 60.0, 60.0, 64.0, 67.0, 74.0, 69.0, 69.0]), 60.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.3343326243696196, -0.4493479600804816, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.3555223354133688, -0.2741657462695841, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-1.5, -4.725791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5.449305058994793, 0.0, (2, 60.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 60.0, 60.0, 64.0, 67.0, 74.0, 69.0, 69.0]), 60.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.6498323611796808, -1.0703555479174454, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.3916559206415984, -0.29925533647868463, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-0.5, -0.7257913526447274, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -2.095402237040857, 0.0, (3, 60.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 60.0, 60.0, 64.0, 67.0, 74.0, 69.0, 69.0]), 64.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.3154665434670596, -0.4248296327388358, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.13356715865852747, -0.281191133998719, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -0.9318121193822821, 0.0, (4, 64.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 60.0, 60.0, 64.0, 67.0, 74.0, 69.0, 69.0]), 67.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.16482635423360903, -0.28012680674461377, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.6830364777994558, -0.3860106481749709, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.0, -18.22579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -18.891928807564316, 0.0, (5, 67.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 60.0, 60.0, 64.0, 67.0, 74.0, 69.0, 69.0]), 74.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.07440172145918734, -0.23686258495690837, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.22758792800597083, -0.5031728553784994, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-2.0, -8.225791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -8.965826792980135, 0.0, (6, 74.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 60.0, 60.0, 64.0, 67.0, 74.0, 69.0, 69.0]), 69.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.6829420450681298, -1.1586110264884062, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.8091101431410155, -0.48371154245824866, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.5, -24.72579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -26.368113921591384, 0.0, (7, 69.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 60.0, 60.0, 64.0, 67.0, 74.0, 69.0, 69.0]), 69.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.34274002325102476, -0.46073279972095327, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.09046414384797413, -0.8099943342153747, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.4965184865810555, 0.0, (8, 69.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 60.0, 60.0, 64.0, 67.0, 74.0, 69.0, 69.0]), 72.0)], Any[60.0, 60.0, 64.0, 67.0, 74.0, 69.0, 69.0, 72.0], (8, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 60.0, 60.0, 64.0, 67.0, 74.0, 69.0, 69.0]), 8, 8, -65.19941458686553, 0.0), -65.19941458686553, 0.0, false), :start => Gen.ChoiceOrCallRecord{Float64}(62.0, -4997.923206259651, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5065.687570203979, 0.0, (8, nothing, nothing), Any[60.0, 60.0, 64.0, 67.0, 74.0, 69.0, 69.0, 72.0])
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Any, Any], true, Union{Nothing, Some{Any}}[nothing, Some(nothing), Some(nothing)], var"##melody#293", Bool[0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:key => Gen.ChoiceOrCallRecord{MusicalScale}(MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), -2.5649493574615367, NaN, true), :sequence => Gen.ChoiceOrCallRecord{Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}}(Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}(Unfold{Any, Gen.DynamicDSLTrace}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false)), Gen.DynamicDSLTrace[Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.6456361995427858, -1.0594835569648313, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.6741128771481911, -0.5855348177705607, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.8708097273801192, 0.0, (1, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 57.0, 54.0, 66.0, 72.0, 64.0, 63.0]), 67.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.6123731973556163, -0.9757932183238088, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-1.0270427693374073, -1.0121566218013776, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-1.5, -4.725791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -6.713741192769913, 0.0, (2, 67.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 57.0, 54.0, 66.0, 72.0, 64.0, 63.0]), 57.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.2674100491736273, -0.368807621442811, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.5739203401358933, -1.1341286023424835, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-0.5, -0.7257913526447274, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -2.2287275764300216, 0.0, (3, 57.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 57.0, 54.0, 66.0, 72.0, 64.0, 63.0]), 54.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(1.3021819876682899, -0.5674137236420868, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.2819833410579708, -0.44621723012475323, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.2394223064115675, 0.0, (4, 54.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 57.0, 54.0, 66.0, 72.0, 64.0, 63.0]), 66.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.1672767405239784, -0.28175436848538016, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-1.166902746674512, -1.560451547693451, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.0, -18.22579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -20.06799726882356, 0.0, (5, 66.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 57.0, 54.0, 66.0, 72.0, 64.0, 63.0]), 72.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.3877709467665588, -0.5265239669571941, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.1530742658858767, -0.5408914294487989, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-2.0, -8.225791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -9.29320674905072, 0.0, (6, 72.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 57.0, 54.0, 66.0, 72.0, 64.0, 63.0]), 64.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.8329210305281545, -1.613306238836893, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.20703195849943634, -0.24307746612562842, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.5, -24.72579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -26.58217505760725, 0.0, (7, 64.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 57.0, 54.0, 66.0, 72.0, 64.0, 63.0]), 63.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.5028463195795092, -0.7315001948740433, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.7484088045869544, -1.2013410692938842, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -2.1586326168126546, 0.0, (8, 63.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 57.0, 54.0, 66.0, 72.0, 64.0, 63.0]), 67.0)], Any[67.0, 57.0, 54.0, 66.0, 72.0, 64.0, 63.0, 67.0], (8, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 67.0, 57.0, 54.0, 66.0, 72.0, 64.0, 63.0]), 8, 8, -70.1547124952858, 0.0), -70.1547124952858, 0.0, false), :start => Gen.ChoiceOrCallRecord{Float64}(62.0, -4997.923206259651, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5070.642868112399, 0.0, (8, nothing, nothing), Any[67.0, 57.0, 54.0, 66.0, 72.0, 64.0, 63.0, 67.0])
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Any, Any], true, Union{Nothing, Some{Any}}[nothing, Some(nothing), Some(nothing)], var"##melody#293", Bool[0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:key => Gen.ChoiceOrCallRecord{MusicalScale}(MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), -2.5649493574615367, NaN, true), :sequence => Gen.ChoiceOrCallRecord{Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}}(Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}(Unfold{Any, Gen.DynamicDSLTrace}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false)), Gen.DynamicDSLTrace[Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.3641815908591026, -0.491047814886061, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.10281521345706623, -0.47474850233823773, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.1915876698690262, 0.0, (1, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 65.0, 70.0, 69.0, 65.0, 73.0, 71.0, 83.0]), 65.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.8449468964429533, -1.653661868261885, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.08785084612964283, -0.22865672575018714, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-1.5, -4.725791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -6.608109946656799, 0.0, (2, 65.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 65.0, 70.0, 69.0, 65.0, 73.0, 71.0, 83.0]), 70.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.0001288500321107217, -0.22579138584938896, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.40828232112583224, -0.6458367243576882, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-0.5, -0.7257913526447274, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.5974194628518046, 0.0, (3, 70.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 65.0, 70.0, 69.0, 65.0, 73.0, 71.0, 83.0]), 69.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.3426648292695545, -0.46062972308139327, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.4808287739585244, -0.227692179252299, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -0.9141132549784197, 0.0, (4, 69.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 65.0, 70.0, 69.0, 65.0, 73.0, 71.0, 83.0]), 65.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.21379770194379022, -0.3172102673576188, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.34408607853665174, -0.5363990272375195, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.0, -18.22579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -19.07940064723987, 0.0, (5, 65.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 65.0, 70.0, 69.0, 65.0, 73.0, 71.0, 83.0]), 73.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.2702061120771596, -0.37181403865243656, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.3627467280547666, -0.4214123844626517, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-2.0, -8.225791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -9.019017775759815, 0.0, (6, 73.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 65.0, 70.0, 69.0, 65.0, 73.0, 71.0, 83.0]), 71.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.5855804722772024, -0.9116003316695102, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.20157614229296544, -0.4039049503422242, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.5, -24.72579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -26.041296634656465, 0.0, (7, 71.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 65.0, 70.0, 69.0, 65.0, 73.0, 71.0, 83.0]), 83.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.15367470739529523, -0.26020496036521, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.14780591494552714, -0.23123979767407443, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -0.7172361106840118, 0.0, (8, 83.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 65.0, 70.0, 69.0, 65.0, 73.0, 71.0, 83.0]), 84.0)], Any[65.0, 70.0, 69.0, 65.0, 73.0, 71.0, 83.0, 84.0], (8, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 65.0, 70.0, 69.0, 65.0, 73.0, 71.0, 83.0]), 8, 8, -65.16818150269621, 0.0), -65.16818150269621, 0.0, false), :start => Gen.ChoiceOrCallRecord{Float64}(62.0, -4997.923206259651, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5065.656337119809, 0.0, (8, nothing, nothing), Any[65.0, 70.0, 69.0, 65.0, 73.0, 71.0, 83.0, 84.0])
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Any, Any], true, Union{Nothing, Some{Any}}[nothing, Some(nothing), Some(nothing)], var"##melody#293", Bool[0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:key => Gen.ChoiceOrCallRecord{MusicalScale}(MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), -2.5649493574615367, NaN, true), :sequence => Gen.ChoiceOrCallRecord{Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}}(Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}(Unfold{Any, Gen.DynamicDSLTrace}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false)), Gen.DynamicDSLTrace[Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.04596733256826349, -0.2300173439716101, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-1.6572886240865918, -4.186713895611793, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -4.642522592228131, 0.0, (1, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 63.0, 62.0, 64.0, 67.0, 66.0, 63.0]), 61.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.6368021720026181, -1.0368253651792316, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.4314157248141143, -0.5167472629156796, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-1.5, -4.725791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -6.279363980739638, 0.0, (2, 61.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 63.0, 62.0, 64.0, 67.0, 66.0, 63.0]), 63.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.021879919646472998, -0.22674881441219963, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.12507518659528452, -0.23706391992936093, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-0.5, -0.7257913526447274, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.189604086986288, 0.0, (3, 63.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 63.0, 62.0, 64.0, 67.0, 66.0, 63.0]), 62.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.18694850778822072, -0.29569084177321225, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.034595511748355845, -0.3877805632593444, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -0.909262757677284, 0.0, (4, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 63.0, 62.0, 64.0, 67.0, 66.0, 63.0]), 64.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.20173906610848577, -0.3071886542333754, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.9515683559461633, -1.0748739975854993, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.0, -18.22579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -19.607854004463604, 0.0, (5, 64.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 63.0, 62.0, 64.0, 67.0, 66.0, 63.0]), 67.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.30308911330706373, -0.40951737385525167, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.03416182972044973, -0.49346648631170587, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-2.0, -8.225791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -9.128775212811684, 0.0, (6, 67.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 63.0, 62.0, 64.0, 67.0, 66.0, 63.0]), 66.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-1.0260477389184752, -2.331339277724158, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.8090055097953861, -0.6471634686897719, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.5, -24.72579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -27.70429409905866, 0.0, (7, 66.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 63.0, 62.0, 64.0, 67.0, 66.0, 63.0]), 63.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.1496571151507296, -0.27058585687520487, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.541004781468693, -0.7079627434949655, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.2043399530148977, 0.0, (8, 63.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 63.0, 62.0, 64.0, 67.0, 66.0, 63.0]), 61.0)], Any[61.0, 63.0, 62.0, 64.0, 67.0, 66.0, 63.0, 61.0], (8, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 61.0, 63.0, 62.0, 64.0, 67.0, 66.0, 63.0]), 8, 8, -70.66601668698019, 0.0), -70.66601668698019, 0.0, false), :start => Gen.ChoiceOrCallRecord{Float64}(62.0, -4997.923206259651, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5071.154172304094, 0.0, (8, nothing, nothing), Any[61.0, 63.0, 62.0, 64.0, 67.0, 66.0, 63.0, 61.0])
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Any, Any], true, Union{Nothing, Some{Any}}[nothing, Some(nothing), Some(nothing)], var"##melody#293", Bool[0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:key => Gen.ChoiceOrCallRecord{MusicalScale}(MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), -2.5649493574615367, NaN, true), :sequence => Gen.ChoiceOrCallRecord{Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}}(Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}(Unfold{Any, Gen.DynamicDSLTrace}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false)), Gen.DynamicDSLTrace[Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.38122996228979567, -0.5164639209396854, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.1058603117692502, -0.4790644756297434, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.2213197492141563, 0.0, (1, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 66.0, 61.0, 65.0, 70.0, 74.0, 71.0, 82.0]), 66.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.21216640261135525, -0.3158205174388148, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.102397451675669, -0.635118261210006, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-1.5, -4.725791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5.676730131293548, 0.0, (2, 66.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 66.0, 61.0, 65.0, 70.0, 74.0, 71.0, 82.0]), 61.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.6122198365469929, -0.9754176091679808, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.25811049056177765, -0.31241130520845484, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-0.5, -0.7257913526447274, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -2.013620267021163, 0.0, (3, 61.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 66.0, 61.0, 65.0, 70.0, 74.0, 71.0, 82.0]), 65.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.5257385230873344, -0.7785933419608307, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.011555809072809592, -0.23336958790594375, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.237754282511502, 0.0, (4, 65.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 66.0, 61.0, 65.0, 70.0, 74.0, 71.0, 82.0]), 70.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.33332423476742223, -0.44800144361130256, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.5528016396158444, -0.9525309860918282, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.0, -18.22579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -19.62632378234786, 0.0, (5, 70.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 66.0, 61.0, 65.0, 70.0, 74.0, 71.0, 82.0]), 74.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.0839649196101128, -0.2398915680949928, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.19129532718686165, -0.5598703718033163, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-2.0, -8.225791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -9.025553292543036, 0.0, (6, 74.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 66.0, 61.0, 65.0, 70.0, 74.0, 71.0, 82.0]), 71.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.5598896594429812, -0.8527442141470823, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.9632330243988172, -0.6549610224320778, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.5, -24.72579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -26.23349658922389, 0.0, (7, 71.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 66.0, 61.0, 65.0, 70.0, 74.0, 71.0, 82.0]), 82.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.2939033691726342, -0.3461279363745692, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.5197439212664972, -1.1229051927915754, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.6948244818108718, 0.0, (8, 82.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 66.0, 61.0, 65.0, 70.0, 74.0, 71.0, 82.0]), 85.0)], Any[66.0, 61.0, 65.0, 70.0, 74.0, 71.0, 82.0, 85.0], (8, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 66.0, 61.0, 65.0, 70.0, 74.0, 71.0, 82.0]), 8, 8, -66.72962257596602, 0.0), -66.72962257596602, 0.0, false), :start => Gen.ChoiceOrCallRecord{Float64}(62.0, -4997.923206259651, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5067.2177781930795, 0.0, (8, nothing, nothing), Any[66.0, 61.0, 65.0, 70.0, 74.0, 71.0, 82.0, 85.0])
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Any, Any], true, Union{Nothing, Some{Any}}[nothing, Some(nothing), Some(nothing)], var"##melody#293", Bool[0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:key => Gen.ChoiceOrCallRecord{MusicalScale}(MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), -2.5649493574615367, NaN, true), :sequence => Gen.ChoiceOrCallRecord{Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}}(Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}(Unfold{Any, Gen.DynamicDSLTrace}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false)), Gen.DynamicDSLTrace[Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.7208955253972433, -1.2651720697202622, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.29058927882066954, -0.22908633175509152, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.720049754120081, 0.0, (1, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 55.0, 54.0, 61.0, 55.0, 51.0, 45.0, 55.0]), 55.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.2932614056157626, -0.397795856692193, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.38536004919138234, -0.4507240778320202, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-1.5, -4.725791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5.57431128716894, 0.0, (2, 55.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 55.0, 54.0, 61.0, 55.0, 51.0, 45.0, 55.0]), 54.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.8655105099493734, -0.2268844498484065, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.38346014538270207, -0.6015667479151138, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-0.5, -0.7257913526447274, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.5542425504082478, 0.0, (3, 54.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 55.0, 54.0, 61.0, 55.0, 51.0, 45.0, 55.0]), 61.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.7272028487044595, -1.2834393189724893, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.23360950432461586, -0.3866600545312361, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.8958907261484526, 0.0, (4, 61.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 55.0, 54.0, 61.0, 55.0, 51.0, 45.0, 55.0]), 55.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-1.0194827053121045, -2.304481325505702, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.5365427117258841, -0.6992389733118808, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.0, -18.22579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -21.229511651462314, 0.0, (5, 55.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 55.0, 54.0, 61.0, 55.0, 51.0, 45.0, 55.0]), 51.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.0379709550074821, -0.23635994867622578, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-1.4175443149060885, -3.1906196701650003, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-2.0, -8.225791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -11.652770971485953, 0.0, (6, 51.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 55.0, 54.0, 61.0, 55.0, 51.0, 45.0, 55.0]), 45.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.391537057375917, -0.5276271071579345, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.7271718772954602, -0.32900547631261456, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.5, -24.72579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -25.58242393611528, 0.0, (7, 45.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 55.0, 54.0, 61.0, 55.0, 51.0, 45.0, 55.0]), 55.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.39017362088768176, -0.5302622615179363, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.09497457436400919, -0.22983677732317498, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -0.9858903914858387, 0.0, (8, 55.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 55.0, 54.0, 61.0, 55.0, 51.0, 45.0, 55.0]), 51.0)], Any[55.0, 54.0, 61.0, 55.0, 51.0, 45.0, 55.0, 51.0], (8, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 55.0, 54.0, 61.0, 55.0, 51.0, 45.0, 55.0]), 8, 8, -70.1950912683951, 0.0), -70.1950912683951, 0.0, false), :start => Gen.ChoiceOrCallRecord{Float64}(62.0, -4997.923206259651, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5070.683246885508, 0.0, (8, nothing, nothing), Any[55.0, 54.0, 61.0, 55.0, 51.0, 45.0, 55.0, 51.0])
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Any, Any], true, Union{Nothing, Some{Any}}[nothing, Some(nothing), Some(nothing)], var"##melody#293", Bool[0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:key => Gen.ChoiceOrCallRecord{MusicalScale}(MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), -2.5649493574615367, NaN, true), :sequence => Gen.ChoiceOrCallRecord{Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}}(Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}(Unfold{Any, Gen.DynamicDSLTrace}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false)), Gen.DynamicDSLTrace[Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.8659538641328972, -1.7255435422581193, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.20301610482523202, -0.2302063254563146, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -2.1815412203591613, 0.0, (1, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 70.0, 84.0, 76.0, 68.0, 68.0, 64.0, 61.0]), 70.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(1.8161635941608374, -6.82269175415515, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.32431982512899776, -0.5060220156139342, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-1.5, -4.725791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -12.054505122413811, 0.0, (2, 70.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 70.0, 84.0, 76.0, 68.0, 68.0, 64.0, 61.0]), 84.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.7059650344294686, -1.2573772238784904, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.7189046265167571, -0.6655344501823662, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-0.5, -0.7257913526447274, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -2.6487030267055838, 0.0, (3, 84.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 70.0, 84.0, 76.0, 68.0, 68.0, 64.0, 61.0]), 76.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.7454202872974485, -1.3370941620739485, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.8412667322558963, -0.29895727838042485, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.8618427930991008, 0.0, (4, 76.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 70.0, 84.0, 76.0, 68.0, 68.0, 64.0, 61.0]), 68.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.7099096672654224, -1.2337348239985326, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.3131146100751297, -0.4894957927447544, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.0, -18.22579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -19.949021969388017, 0.0, (5, 68.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 70.0, 84.0, 76.0, 68.0, 68.0, 64.0, 61.0]), 68.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.1064975845624524, -0.24847482368000073, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.5797792716536417, -1.0190352146539103, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-2.0, -8.225791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -9.493301390978639, 0.0, (6, 68.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 70.0, 84.0, 76.0, 68.0, 68.0, 64.0, 61.0]), 64.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-1.0242515311013236, -2.3239737505715388, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.5240720779855894, -0.3262079449102874, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.5, -24.72579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -27.375973048126557, 0.0, (7, 64.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 70.0, 84.0, 76.0, 68.0, 68.0, 64.0, 61.0]), 61.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.6476595926617165, -1.0647172485782082, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.6510122734666343, -0.9482228583597921, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -2.2387314595827275, 0.0, (8, 61.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 70.0, 84.0, 76.0, 68.0, 68.0, 64.0, 61.0]), 66.0)], Any[70.0, 84.0, 76.0, 68.0, 68.0, 64.0, 61.0, 66.0], (8, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 70.0, 84.0, 76.0, 68.0, 68.0, 64.0, 61.0]), 8, 8, -77.80362003065359, 0.0), -77.80362003065359, 0.0, false), :start => Gen.ChoiceOrCallRecord{Float64}(62.0, -4997.923206259651, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5078.291775647766, 0.0, (8, nothing, nothing), Any[70.0, 84.0, 76.0, 68.0, 68.0, 64.0, 61.0, 66.0])
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Any, Any], true, Union{Nothing, Some{Any}}[nothing, Some(nothing), Some(nothing)], var"##melody#293", Bool[0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:key => Gen.ChoiceOrCallRecord{MusicalScale}(MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), -2.5649493574615367, NaN, true), :sequence => Gen.ChoiceOrCallRecord{Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}}(Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}(Unfold{Any, Gen.DynamicDSLTrace}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false)), Gen.DynamicDSLTrace[Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.31437863241276187, -0.42345920168016427, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.05542916520225072, -0.412365302557015, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.0616158568819065, 0.0, (1, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 65.0, 63.0, 55.0, 54.0, 61.0, 55.0, 67.0]), 65.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.179571718874511, -0.29028335708382025, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.29853209266582426, -0.349327754814435, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-1.5, -4.725791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5.365402464542982, 0.0, (2, 65.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 65.0, 63.0, 55.0, 54.0, 61.0, 55.0, 67.0]), 63.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.8196915827049769, -1.5695799341595071, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.09005569977917295, -0.22900027081432583, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-0.5, -0.7257913526447274, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -2.52437155761856, 0.0, (3, 63.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 65.0, 63.0, 55.0, 54.0, 61.0, 55.0, 67.0]), 55.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.12575268160193853, -0.25741882650488446, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.06691296226489385, -0.22636344922987484, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -0.7095736283794867, 0.0, (4, 55.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 65.0, 63.0, 55.0, 54.0, 61.0, 55.0, 67.0]), 54.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.07261386230820732, -1.5584011906833117, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.16107178426082308, -0.3148939488668222, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.0, -18.22579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -20.099086492194864, 0.0, (5, 54.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 65.0, 63.0, 55.0, 54.0, 61.0, 55.0, 67.0]), 61.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.14960702399822262, -0.2705558759039369, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.5578869072500976, -0.7416895737568657, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-2.0, -8.225791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -9.23803680230553, 0.0, (6, 61.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 65.0, 63.0, 55.0, 54.0, 61.0, 55.0, 67.0]), 55.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.584467576720814, -0.9089960491205283, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.14829781329807012, -0.3044353981623199, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.5, -24.72579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -25.939222799927578, 0.0, (7, 55.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 65.0, 63.0, 55.0, 54.0, 61.0, 55.0, 67.0]), 67.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.5193816881881582, -0.7653060286950898, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.48281326434246263, -0.2395074261468365, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.2306048074866536, 0.0, (8, 67.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 65.0, 63.0, 55.0, 54.0, 61.0, 55.0, 67.0]), 62.0)], Any[65.0, 63.0, 55.0, 54.0, 61.0, 55.0, 67.0, 62.0], (8, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 65.0, 63.0, 55.0, 54.0, 61.0, 55.0, 67.0]), 8, 8, -66.16791440933756, 0.0), -66.16791440933756, 0.0, false), :start => Gen.ChoiceOrCallRecord{Float64}(62.0, -4997.923206259651, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5066.656070026451, 0.0, (8, nothing, nothing), Any[65.0, 63.0, 55.0, 54.0, 61.0, 55.0, 67.0, 62.0])
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Any, Any], true, Union{Nothing, Some{Any}}[nothing, Some(nothing), Some(nothing)], var"##melody#293", Bool[0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:key => Gen.ChoiceOrCallRecord{MusicalScale}(MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), -2.5649493574615367, NaN, true), :sequence => Gen.ChoiceOrCallRecord{Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}}(Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}(Unfold{Any, Gen.DynamicDSLTrace}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false)), Gen.DynamicDSLTrace[Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.3016285830007469, -0.4077509568108043, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.09720216476359353, -0.27248570955059137, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -0.9060280190061231, 0.0, (1, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 59.0, 52.0, 39.0, 47.0, 45.0, 39.0, 41.0]), 59.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.34922756698314433, -0.46971113972666056, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.5687044054743097, -0.5764181109719176, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-1.5, -4.725791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5.771920603343305, 0.0, (2, 59.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 59.0, 52.0, 39.0, 47.0, 45.0, 39.0, 41.0]), 52.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-1.1731447473279322, -3.3221366351644885, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-1.0885276914556123, -1.9874598079027295, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-0.5, -0.7257913526447274, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -6.035387795711945, 0.0, (3, 52.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 59.0, 52.0, 39.0, 47.0, 45.0, 39.0, 41.0]), 39.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.9781167335092948, -2.1360098268972076, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.9028687378156453, -0.24695530708429525, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -2.60875648662623, 0.0, (4, 39.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 59.0, 52.0, 39.0, 47.0, 45.0, 39.0, 41.0]), 47.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.823802730077331, -1.6016920714871947, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.8945032756740616, -0.7148583319494813, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.0, -18.22579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -20.542341756081406, 0.0, (5, 47.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 59.0, 52.0, 39.0, 47.0, 45.0, 39.0, 41.0]), 45.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.1933750093841667, -0.30296128632980424, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.642951264363732, -0.2666614806111065, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-2.0, -8.225791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -8.795414119585638, 0.0, (6, 45.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 59.0, 52.0, 39.0, 47.0, 45.0, 39.0, 41.0]), 39.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.5209445087068304, -0.7702674034524023, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.03733154634460456, -1.3891176930469515, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.5, -24.72579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -26.885176449144083, 0.0, (7, 39.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 59.0, 52.0, 39.0, 47.0, 45.0, 39.0, 41.0]), 41.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.1903470397166132, -0.2991686645018683, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.7100352630916413, -0.2259927656553643, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -0.75095278280196, 0.0, (8, 41.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 59.0, 52.0, 39.0, 47.0, 45.0, 39.0, 41.0]), 39.0)], Any[59.0, 52.0, 39.0, 47.0, 45.0, 39.0, 41.0, 39.0], (8, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 59.0, 52.0, 39.0, 47.0, 45.0, 39.0, 41.0]), 8, 8, -72.29597801230068, 0.0), -72.29597801230068, 0.0, false), :start => Gen.ChoiceOrCallRecord{Float64}(62.0, -4997.923206259651, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5072.784133629414, 0.0, (8, nothing, nothing), Any[59.0, 52.0, 39.0, 47.0, 45.0, 39.0, 41.0, 39.0])
Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Any, Any], true, Union{Nothing, Some{Any}}[nothing, Some(nothing), Some(nothing)], var"##melody#293", Bool[0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:key => Gen.ChoiceOrCallRecord{MusicalScale}(MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), -2.5649493574615367, NaN, true), :sequence => Gen.ChoiceOrCallRecord{Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}}(Gen.VectorTrace{Gen.UnfoldType, Any, Gen.DynamicDSLTrace}(Unfold{Any, Gen.DynamicDSLTrace}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false)), Gen.DynamicDSLTrace[Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.21147832433340974, -0.3152375159704611, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.2480396582377816, -0.22579903852437677, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -0.7668279071395653, 0.0, (1, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 60.0, 58.0, 50.0, 49.0, 53.0, 62.0, 72.0]), 60.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.11900511557821915, -0.25411578771229804, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.027139496174106048, -0.2855528602106112, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-1.5, -4.725791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5.265460000567636, 0.0, (2, 60.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 60.0, 58.0, 50.0, 49.0, 53.0, 62.0, 72.0]), 58.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.9240158680139791, -1.9334020013279813, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.8276441783251021, -1.7663099601406147, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-0.5, -0.7257913526447274, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -4.425503314113324, 0.0, (3, 58.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 60.0, 58.0, 50.0, 49.0, 53.0, 62.0, 72.0]), 50.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.006783305909525325, -0.22611946956852602, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.9191065294006463, -1.1211984480178834, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -1.5731092702311367, 0.0, (4, 50.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 60.0, 58.0, 50.0, 49.0, 53.0, 62.0, 72.0]), 49.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(-0.15479178342056737, -0.28153232567214337, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.6394147801840517, -0.4561961386595036, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.0, -18.22579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -18.963519816976376, 0.0, (5, 49.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 60.0, 58.0, 50.0, 49.0, 53.0, 62.0, 72.0]), 53.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(1.3905837292867644, -3.1206122719938247, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.5178871474694695, -0.9893604066606433, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(-2.0, -8.225791352644727, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -12.335764031299195, 0.0, (6, 53.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 60.0, 58.0, 50.0, 49.0, 53.0, 62.0, 72.0]), 62.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.4006277698600994, -0.5467965726108809, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(-0.8070678267366126, -0.8464404798148327, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(3.5, -24.72579135264473, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -26.119028405070445, 0.0, (7, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 60.0, 58.0, 50.0, 49.0, 53.0, 62.0, 72.0]), 72.0), Gen.DynamicDSLTrace{DynamicDSLFunction{Any}}(DynamicDSLFunction{Any}(Dict{Symbol, Any}(), Dict{Symbol, Any}(), Type[Int64, Float64, MusicalScale, Vector{Any}], false, Union{Nothing, Some{Any}}[nothing, nothing, nothing, nothing], var"##melody_kernel#292", Bool[0, 0, 0, 0], false), Trie{Any, Gen.ChoiceOrCallRecord}(Dict{Any, Gen.ChoiceOrCallRecord}(:magnetism => Gen.ChoiceOrCallRecord{Float64}(0.19715804195501171, -0.3035339396597957, NaN, true), :gravity => Gen.ChoiceOrCallRecord{Float64}(0.5111793875986481, -2.4779947379732112, NaN, true), :inertia => Gen.ChoiceOrCallRecord{Float64}(0.0, -0.22579135264472738, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -3.007320030277734, 0.0, (8, 72.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 60.0, 58.0, 50.0, 49.0, 53.0, 62.0, 72.0]), 74.0)], Any[60.0, 58.0, 50.0, 49.0, 53.0, 62.0, 72.0, 74.0], (8, 62.0, MusicalScale(:major, [55, 57, 59, 60, 62, 64, 66, 67, 69, 71, 72, 74, 76, 78, 79]), Any[62.0, 60.0, 58.0, 50.0, 49.0, 53.0, 62.0, 72.0]), 8, 8, -72.45653277567543, 0.0), -72.45653277567543, 0.0, false), :start => Gen.ChoiceOrCallRecord{Float64}(62.0, -4997.923206259651, NaN, true)), Dict{Any, Trie{Any, Gen.ChoiceOrCallRecord}}()), false, -5072.9446883927885, 0.0, (8, nothing, nothing), Any[60.0, 58.0, 50.0, 49.0, 53.0, 62.0, 72.0, 74.0])
I've created a function to easily visualize the samples from the particle filter. Let's visualize the samples and calculate the mean of the last note.
function visualize_samples(samples::Vector{Gen.DynamicDSLTrace}, obs_notes::Vector{Float64})
plot()
for trace in samples
sequence = Vector(trace[:sequence])
# Because of the way that melody works, it only logs the following notes after the first one, so I
# added it back here
pushfirst!(sequence, init_note)
plot!(sequence, linewidth=2, alpha=0.5, legend=false)
end
plot!(obs_notes, linewidth=4, linecolor=:red, linestyle=:solid, label="Observed Sequence")
xlabel!("Time Step")
ylabel!("Note")
title!("Particle Filter Samples")
display(Plots.plot!())
end
init_note = 62.0
observed_notes = [62.0, 59.0, 55.0, 62.0, 64.0, 60.0, 66.0, 62.0, 67.0]
visualize_samples(pf_traces, observed_notes)
last_notes = Float64[]
for trace in pf_traces
last_note = trace[:sequence][end]
push!(last_notes, last_note)
end
mu = mean(last_notes)
69.225
Seems pretty close to the actual last note! (67.0) Let's do this on all of the melodic stems to get a better picture of how the model performs.
Experiment: Model vs Human Performance in Melodic Expectation¶
First, I'll need to read the data into a workable form.
# I had to make separate df's for different melody lengths, the code breaks otherwise
df6 = DataFrame(CSV.File("./data/stems6.csv"))
melodies6 = []
for col in names(df6)
push!(melodies6, df6[!, col][1:7])
end
df6_keys = [D,C]
actual_means6 = Array(df6[7, :])
df7 = DataFrame(CSV.File("./data/stems7.csv"))
melodies7 = []
for col in names(df7)
push!(melodies7, df7[!, col][1:8])
end
df7_keys = [E,E♭,D♭,B♭]
actual_means7 = Array(df7[8, :])
df8 = DataFrame(CSV.File("./data/stems8.csv"))
melodies8 = []
for col in names(df8)
push!(melodies8, df8[!, col][1:9])
end
df8_keys = [G,B,E♭,E,B,F♯,E♭,E,D♭,A♭,C,G,F,E♭]
actual_means8 = Array(df8[9, :])
df9 = DataFrame(CSV.File("./data/stems9.csv"))
melodies9 = []
for col in names(df9)
push!(melodies9, df9[!, col][1:9])
end
df9_keys = [F♯,A♭,B♭,F,C,G,D,A,A♭,B♭,F,D,A,B,F♯,E♭,F,D,E,B,F♯,D♭,A♭,B♭,F]
actual_means9 = Array(df9[9, :])
actual_means = vcat(actual_means6, actual_means7, actual_means8, actual_means9)
45-element Vector{Float64}:
62.0
60.0
64.0
63.0
61.0
63.0
67.0
59.0
56.0
64.0
71.0
66.0
63.0
⋮
58.0
65.0
58.0
64.0
64.0
66.0
57.0
65.0
63.0
67.0
57.0
64.0
Here is where I run the particle filter on all of the melodies. In the end, I'll make a scatterplot and do a correlation test to see how well my model performed.
Random.seed!(704)
num_melodies = size(df6, 2)
model_means = []
for col_idx in 1:num_melodies
melody_sequence = df6[!, col_idx][1:7]
obs_notes = make_observations(melody_sequence[1:6], df6_keys[col_idx])
pf_traces = particle_filter(2000, 200, df6_keys[col_idx], obs_notes, melody_sequence[1])
last_notes = Float64[]
for trace in pf_traces
last_note = trace[:sequence][end]
push!(last_notes, last_note)
end
push!(model_means, mean(last_notes))
end
num_melodies = size(df7, 2)
for col_idx in 1:num_melodies
melody_sequence = df7[!, col_idx][1:8]
obs_notes = make_observations(melody_sequence[1:7], df7_keys[col_idx])
pf_traces = particle_filter(2000, 200, df7_keys[col_idx], obs_notes, melody_sequence[1])
last_notes = Float64[]
for trace in pf_traces
last_note = trace[:sequence][end]
push!(last_notes, last_note)
end
push!(model_means, mean(last_notes))
end
num_melodies = size(df8, 2)
for col_idx in 1:num_melodies
melody_sequence = df8[!, col_idx][1:9]
obs_notes = make_observations(melody_sequence[1:8], df8_keys[col_idx])
pf_traces = particle_filter(2000, 200, df8_keys[col_idx], obs_notes, melody_sequence[1])
last_notes = Float64[]
for trace in pf_traces
last_note = trace[:sequence][end]
push!(last_notes, last_note)
end
push!(model_means, mean(last_notes))
end
num_melodies = size(df9, 2)
for col_idx in 1:num_melodies
melody_sequence = df9[!, col_idx][1:10]
obs_notes = make_observations(melody_sequence[1:9], df9_keys[col_idx])
pf_traces = particle_filter(2000, 200, df9_keys[col_idx], obs_notes, melody_sequence[1])
last_notes = Float64[]
for trace in pf_traces
last_note = trace[:sequence][end]
push!(last_notes, last_note)
end
push!(model_means, mean(last_notes))
end
Final results!¶
r_value = cor(actual_means, model_means)
ctest = CorrelationTest(actual_means, model_means)
p_value = pvalue(ctest)
viz = scatter(model_means, actual_means, xlabel="Model Performance", ylabel="Human Performance", legend=false)
df = DataFrame(Y = convert(Array{Float64, 1}, model_means), x = convert(Array{Float64, 1}, actual_means))
line = lm(@formula(Y~x), df)
rsq = r2(line)
x_vals = range(minimum(df.x), maximum(df.x), length=100)
y_vals = predict(line, DataFrame(x=x_vals))
display(plot!(viz, y_vals, x_vals, linewidth=2))
println("R value = $r_value, R-squared value = $rsq, p = $p_value")
R value = 0.46189562826304154, R-squared value = 0.21334757140850957, p = 0.0014030553282060709
Ablation¶
How does the performance of the model change when I subset the physical forces?
Subset with just magnetism and inertia, no gravity¶
@gen function melody_kernel_no_grav(k::Int, curr_note::Float64, key::MusicalScale, tmp_sequence::Vector{Any})
σ = 0.5
w_g = 1
w_m = 9
w_i = 2
push!(tmp_sequence, curr_note)
#First, calculate each force
magnetism = @trace(normal(calculate_magnetism(curr_note, key), σ), :magnetism)
inertia = @trace(normal(calculate_inertia(curr_note, key, tmp_sequence), σ), :inertia)
#Add all forces together to get cumulative `F`
force = w_m*magnetism + w_i*inertia
#Apply force to find next note
next_note = round(curr_note + force)
return next_note
end
chain = Gen.Unfold(melody_kernel_no_grav)
;
function particle_filter(num_particles::Int, num_samples::Int, key::MusicalScale, obs_notes, init_note)
# Initial observations
init_obs = Gen.choicemap(
(:key, key),
(:start, init_note)
)
# Initialize the particle filter
state = Gen.initialize_particle_filter(melody, (0,), init_obs, num_particles)
last_notes = Float64[]
for (idx, obs_note) in enumerate(eachrow(obs_notes))
# Evolve and resample
Gen.maybe_resample!(state, ess_threshold=num_particles / 2)
# Load observations of this time step
obs = Gen.choicemap(
(:sequence => idx => :obs_magnetism, obs_notes[idx, :magnetism]),
(:sequence => idx => :inertia, obs_notes[idx, :inertia]),
)
# Re-weight by the likelihood
Gen.particle_filter_step!(state, (idx,), (UnknownChange(),), obs)
end
# Return a sample of unweighted traces from the weighted collection
return Gen.sample_unweighted_traces(state, num_samples)
end
;
Random.seed!(704)
num_melodies = size(df6, 2)
model_means = []
for col_idx in 1:num_melodies
melody_sequence = df6[!, col_idx][1:7]
obs_notes = make_observations(melody_sequence[1:6], df6_keys[col_idx])
pf_traces = particle_filter(2000, 200, df6_keys[col_idx], obs_notes, melody_sequence[1])
last_notes = Float64[]
for trace in pf_traces
last_note = trace[:sequence][end]
push!(last_notes, last_note)
end
push!(model_means, mean(last_notes))
end
num_melodies = size(df7, 2)
for col_idx in 1:num_melodies
melody_sequence = df7[!, col_idx][1:8]
obs_notes = make_observations(melody_sequence[1:7], df7_keys[col_idx])
pf_traces = particle_filter(2000, 200, df7_keys[col_idx], obs_notes, melody_sequence[1])
last_notes = Float64[]
for trace in pf_traces
last_note = trace[:sequence][end]
push!(last_notes, last_note)
end
push!(model_means, mean(last_notes))
end
num_melodies = size(df8, 2)
for col_idx in 1:num_melodies
melody_sequence = df8[!, col_idx][1:9]
obs_notes = make_observations(melody_sequence[1:8], df8_keys[col_idx])
pf_traces = particle_filter(2000, 200, df8_keys[col_idx], obs_notes, melody_sequence[1])
last_notes = Float64[]
for trace in pf_traces
last_note = trace[:sequence][end]
push!(last_notes, last_note)
end
push!(model_means, mean(last_notes))
end
num_melodies = size(df9, 2)
for col_idx in 1:num_melodies
melody_sequence = df9[!, col_idx][1:10]
obs_notes = make_observations(melody_sequence[1:9], df9_keys[col_idx])
pf_traces = particle_filter(2000, 200, df9_keys[col_idx], obs_notes, melody_sequence[1])
last_notes = Float64[]
for trace in pf_traces
last_note = trace[:sequence][end]
push!(last_notes, last_note)
end
push!(model_means, mean(last_notes))
end
r_value = cor(actual_means, model_means)
ctest = CorrelationTest(actual_means, model_means)
p_value = pvalue(ctest)
viz = scatter(model_means, actual_means, xlabel="Model Performance", ylabel="Human Performance", legend=false)
df = DataFrame(Y = convert(Array{Float64, 1}, model_means), x = convert(Array{Float64, 1}, actual_means))
line = lm(@formula(Y~x), df)
rsq = r2(line)
x_vals = range(minimum(df.x), maximum(df.x), length=100)
y_vals = predict(line, DataFrame(x=x_vals))
display(plot!(viz, y_vals, x_vals, linewidth=2))
println("R value = $r_value, R-squared value = $rsq, p = $p_value")
R value = 0.45980508703145967, R-squared value = 0.21142071806000817, p = 0.0014845081326882949
Subset with just gravity and inertia, no magnetism¶
@gen function melody_kernel_no_mag(k::Int, curr_note::Float64, key::MusicalScale, tmp_sequence::Vector{Any})
σ = 0.5
w_g = 1
w_m = 9
w_i = 2
push!(tmp_sequence, curr_note)
#First, calculate each force
gravity = @trace(normal(calculate_gravity(curr_note, key), σ), :gravity)
inertia = @trace(normal(calculate_inertia(curr_note, key, tmp_sequence), σ), :inertia)
#Add all forces together to get cumulative `F`
force = w_g*gravity + w_i*inertia
#Apply force to find next note
next_note = round(curr_note + force)
return next_note
end
chain = Gen.Unfold(melody_kernel_no_mag)
;
function particle_filter(num_particles::Int, num_samples::Int, key::MusicalScale, obs_notes, init_note)
# Initial observations
init_obs = Gen.choicemap(
(:key, key),
(:start, init_note)
)
# Initialize the particle filter
state = Gen.initialize_particle_filter(melody, (0,), init_obs, num_particles)
last_notes = Float64[]
for (idx, obs_note) in enumerate(eachrow(obs_notes))
# Evolve and resample
Gen.maybe_resample!(state, ess_threshold=num_particles / 2)
# Load observations of this time step
obs = Gen.choicemap(
(:sequence => idx => :obs_gravity, obs_notes[idx, :gravity]),
(:sequence => idx => :inertia, obs_notes[idx, :inertia]),
)
# Re-weight by the likelihood
Gen.particle_filter_step!(state, (idx,), (UnknownChange(),), obs)
end
# Return a sample of unweighted traces from the weighted collection
return Gen.sample_unweighted_traces(state, num_samples)
end
;
Random.seed!(704)
num_melodies = size(df6, 2)
model_means = []
for col_idx in 1:num_melodies
melody_sequence = df6[!, col_idx][1:7]
obs_notes = make_observations(melody_sequence[1:6], df6_keys[col_idx])
pf_traces = particle_filter(2000, 200, df6_keys[col_idx], obs_notes, melody_sequence[1])
last_notes = Float64[]
for trace in pf_traces
last_note = trace[:sequence][end]
push!(last_notes, last_note)
end
push!(model_means, mean(last_notes))
end
num_melodies = size(df7, 2)
for col_idx in 1:num_melodies
melody_sequence = df7[!, col_idx][1:8]
obs_notes = make_observations(melody_sequence[1:7], df7_keys[col_idx])
pf_traces = particle_filter(2000, 200, df7_keys[col_idx], obs_notes, melody_sequence[1])
last_notes = Float64[]
for trace in pf_traces
last_note = trace[:sequence][end]
push!(last_notes, last_note)
end
push!(model_means, mean(last_notes))
end
num_melodies = size(df8, 2)
for col_idx in 1:num_melodies
melody_sequence = df8[!, col_idx][1:9]
obs_notes = make_observations(melody_sequence[1:8], df8_keys[col_idx])
pf_traces = particle_filter(2000, 200, df8_keys[col_idx], obs_notes, melody_sequence[1])
last_notes = Float64[]
for trace in pf_traces
last_note = trace[:sequence][end]
push!(last_notes, last_note)
end
push!(model_means, mean(last_notes))
end
num_melodies = size(df9, 2)
for col_idx in 1:num_melodies
melody_sequence = df9[!, col_idx][1:10]
obs_notes = make_observations(melody_sequence[1:9], df9_keys[col_idx])
pf_traces = particle_filter(2000, 200, df9_keys[col_idx], obs_notes, melody_sequence[1])
last_notes = Float64[]
for trace in pf_traces
last_note = trace[:sequence][end]
push!(last_notes, last_note)
end
push!(model_means, mean(last_notes))
end
r_value = cor(actual_means, model_means)
ctest = CorrelationTest(actual_means, model_means)
p_value = pvalue(ctest)
viz = scatter(model_means, actual_means, xlabel="Model Performance", ylabel="Human Performance", legend=false)
df = DataFrame(Y = convert(Array{Float64, 1}, model_means), x = convert(Array{Float64, 1}, actual_means))
line = lm(@formula(Y~x), df)
rsq = r2(line)
x_vals = range(minimum(df.x), maximum(df.x), length=100)
y_vals = predict(line, DataFrame(x=x_vals))
display(plot!(viz, y_vals, x_vals, linewidth=2))
println("R value = $r_value, R-squared value = $rsq, p = $p_value")
R value = 0.44896348876619435, R-squared value = 0.20156821424511284, p = 0.001978080745300967
Subset with just gravity and magnetism, no inertia¶
@gen function melody_kernel_no_in(k::Int, curr_note::Float64, key::MusicalScale, tmp_sequence::Vector{Any})
σ = 0.5
w_g = 1
w_m = 9
w_i = 2
push!(tmp_sequence, curr_note)
#First, calculate each force
gravity = @trace(normal(calculate_gravity(curr_note, key), σ), :gravity)
magnetism = @trace(normal(calculate_magnetism(curr_note, key), σ), :magnetism)
#Add all forces together to get cumulative `F`
force = w_g*gravity + w_m*magnetism
#Apply force to find next note
next_note = round(curr_note + force)
return next_note
end
chain = Gen.Unfold(melody_kernel_no_in)
;
function particle_filter(num_particles::Int, num_samples::Int, key::MusicalScale, obs_notes, init_note)
# Initial observations
init_obs = Gen.choicemap(
(:key, key),
(:start, init_note)
)
# Initialize the particle filter
state = Gen.initialize_particle_filter(melody, (0,), init_obs, num_particles)
last_notes = Float64[]
for (idx, obs_note) in enumerate(eachrow(obs_notes))
# Evolve and resample
Gen.maybe_resample!(state, ess_threshold=num_particles / 2)
# Load observations of this time step
obs = Gen.choicemap(
(:sequence => idx => :obs_gravity, obs_notes[idx, :gravity]),
(:sequence => idx => :inertia, obs_notes[idx, :inertia]),
)
# Re-weight by the likelihood
Gen.particle_filter_step!(state, (idx,), (UnknownChange(),), obs)
end
# Return a sample of unweighted traces from the weighted collection
return Gen.sample_unweighted_traces(state, num_samples)
end
;
Random.seed!(704)
num_melodies = size(df6, 2)
model_means = []
for col_idx in 1:num_melodies
melody_sequence = df6[!, col_idx][1:7]
obs_notes = make_observations(melody_sequence[1:6], df6_keys[col_idx])
pf_traces = particle_filter(2000, 200, df6_keys[col_idx], obs_notes, melody_sequence[1])
last_notes = Float64[]
for trace in pf_traces
last_note = trace[:sequence][end]
push!(last_notes, last_note)
end
push!(model_means, mean(last_notes))
end
num_melodies = size(df7, 2)
for col_idx in 1:num_melodies
melody_sequence = df7[!, col_idx][1:8]
obs_notes = make_observations(melody_sequence[1:7], df7_keys[col_idx])
pf_traces = particle_filter(2000, 200, df7_keys[col_idx], obs_notes, melody_sequence[1])
last_notes = Float64[]
for trace in pf_traces
last_note = trace[:sequence][end]
push!(last_notes, last_note)
end
push!(model_means, mean(last_notes))
end
num_melodies = size(df8, 2)
for col_idx in 1:num_melodies
melody_sequence = df8[!, col_idx][1:9]
obs_notes = make_observations(melody_sequence[1:8], df8_keys[col_idx])
pf_traces = particle_filter(2000, 200, df8_keys[col_idx], obs_notes, melody_sequence[1])
last_notes = Float64[]
for trace in pf_traces
last_note = trace[:sequence][end]
push!(last_notes, last_note)
end
push!(model_means, mean(last_notes))
end
num_melodies = size(df9, 2)
for col_idx in 1:num_melodies
melody_sequence = df9[!, col_idx][1:10]
obs_notes = make_observations(melody_sequence[1:9], df9_keys[col_idx])
pf_traces = particle_filter(2000, 200, df9_keys[col_idx], obs_notes, melody_sequence[1])
last_notes = Float64[]
for trace in pf_traces
last_note = trace[:sequence][end]
push!(last_notes, last_note)
end
push!(model_means, mean(last_notes))
end
r_value = cor(actual_means, model_means)
ctest = CorrelationTest(actual_means, model_means)
p_value = pvalue(ctest)
viz = scatter(model_means, actual_means, xlabel="Model Performance", ylabel="Human Performance", legend=false)
df = DataFrame(Y = convert(Array{Float64, 1}, model_means), x = convert(Array{Float64, 1}, actual_means))
line = lm(@formula(Y~x), df)
rsq = r2(line)
x_vals = range(minimum(df.x), maximum(df.x), length=100)
y_vals = predict(line, DataFrame(x=x_vals))
display(plot!(viz, y_vals, x_vals, linewidth=2))
println("R value = $r_value, R-squared value = $rsq, p = $p_value")
R value = 0.35990678349799693, R-squared value = 0.1295328928078745, p = 0.015166396802667683
More plots!¶
I printed all of them so I could see which ones to possibly use in the report.
Random.seed!(704)
num_melodies = size(df6, 2)
model_means = []
for col_idx in 1:num_melodies
melody_sequence = df6[!, col_idx][1:7]
obs_notes = make_observations(melody_sequence[1:6], df6_keys[col_idx])
pf_traces = particle_filter(2000, 200, df6_keys[col_idx], obs_notes, melody_sequence[1])
last_notes = Float64[]
for trace in pf_traces
last_note = trace[:sequence][end]
push!(last_notes, last_note)
end
init_note = melody_sequence[1]
visualize_samples(pf_traces, melody_sequence)
end
num_melodies = size(df7, 2)
for col_idx in 1:num_melodies
melody_sequence = df7[!, col_idx][1:8]
obs_notes = make_observations(melody_sequence[1:7], df7_keys[col_idx])
pf_traces = particle_filter(2000, 200, df7_keys[col_idx], obs_notes, melody_sequence[1])
last_notes = Float64[]
for trace in pf_traces
last_note = trace[:sequence][end]
push!(last_notes, last_note)
end
init_note = melody_sequence[1]
visualize_samples(pf_traces, melody_sequence)
end
num_melodies = size(df8, 2)
for col_idx in 1:num_melodies
melody_sequence = df8[!, col_idx][1:9]
obs_notes = make_observations(melody_sequence[1:8], df8_keys[col_idx])
pf_traces = particle_filter(2000, 200, df8_keys[col_idx], obs_notes, melody_sequence[1])
last_notes = Float64[]
for trace in pf_traces
last_note = trace[:sequence][end]
push!(last_notes, last_note)
end
init_note = melody_sequence[1]
visualize_samples(pf_traces, melody_sequence)
end
num_melodies = size(df9, 2)
for col_idx in 1:num_melodies
melody_sequence = df9[!, col_idx][1:10]
obs_notes = make_observations(melody_sequence[1:9], df9_keys[col_idx])
pf_traces = particle_filter(2000, 200, df9_keys[col_idx], obs_notes, melody_sequence[1])
last_notes = Float64[]
for trace in pf_traces
last_note = trace[:sequence][end]
push!(last_notes, last_note)
end
init_note = melody_sequence[1]
visualize_samples(pf_traces, melody_sequence)
end
References¶
Larson, S. (2004). Musical Forces and Melodic Expectations: Comparing Computer Models and Experimental Results. Music Perception, 21(4), 457–498. https://doi.org/10.1525/mp.2004.21.4.457
Morgan, E., Fogel, A., Nair, A., & Patel, A. D. (2019). Statistical learning and Gestalt-like principles predict melodic expectations. Cognition, 189, 23–34. https://doi.org/10.1016/j.cognition.2018.12.015
Temperley, D. (2008). A Probabilistic Model of Melody Perception. Cognitive Science, 32(2), 418–444. https://doi.org/10.1080/03640210701864089